5bd197
From 64a36cbc8d7c8234dfa2af8670c2e1ea4a5c3909 Mon Sep 17 00:00:00 2001
5bd197
From: Marian Koncek <mkoncek@redhat.com>
5bd197
Date: Thu, 11 Jul 2019 14:29:26 +0200
5bd197
Subject: [PATCH] Port to OSGI 7.0.0
5bd197
5bd197
---
5bd197
 .../src/aQute/bnd/junit/ConsoleLogger.java    | 62 +++++++++++++++++++
5bd197
 1 file changed, 62 insertions(+)
5bd197
5bd197
diff --git a/biz.aQute.bndlib/src/aQute/bnd/junit/ConsoleLogger.java b/biz.aQute.bndlib/src/aQute/bnd/junit/ConsoleLogger.java
5bd197
index 9c2591f..569b20e 100644
5bd197
--- a/biz.aQute.bndlib/src/aQute/bnd/junit/ConsoleLogger.java
5bd197
+++ b/biz.aQute.bndlib/src/aQute/bnd/junit/ConsoleLogger.java
5bd197
@@ -15,9 +15,11 @@ import org.osgi.framework.ServiceFactory;
5bd197
 import org.osgi.framework.ServiceReference;
5bd197
 import org.osgi.framework.ServiceRegistration;
5bd197
 import org.osgi.service.log.LogEntry;
5bd197
+import org.osgi.service.log.LogLevel;
5bd197
 import org.osgi.service.log.LogListener;
5bd197
 import org.osgi.service.log.LogReaderService;
5bd197
 import org.osgi.service.log.LogService;
5bd197
+import org.osgi.service.log.Logger;
5bd197
 
5bd197
 @Deprecated // see biz.aQute.bnd.remote.junit
5bd197
 public class ConsoleLogger implements LogReaderService {
5bd197
@@ -76,6 +78,36 @@ public class ConsoleLogger implements LogReaderService {
5bd197
 			return time;
5bd197
 		}
5bd197
 
5bd197
+		@Override
5bd197
+		public LogLevel getLogLevel() {
5bd197
+			// TODO Auto-generated method stub
5bd197
+			return null;
5bd197
+		}
5bd197
+
5bd197
+		@Override
5bd197
+		public String getLoggerName() {
5bd197
+			// TODO Auto-generated method stub
5bd197
+			return null;
5bd197
+		}
5bd197
+
5bd197
+		@Override
5bd197
+		public long getSequence() {
5bd197
+			// TODO Auto-generated method stub
5bd197
+			return 0;
5bd197
+		}
5bd197
+
5bd197
+		@Override
5bd197
+		public String getThreadInfo() {
5bd197
+			// TODO Auto-generated method stub
5bd197
+			return null;
5bd197
+		}
5bd197
+
5bd197
+		@Override
5bd197
+		public StackTraceElement getLocation() {
5bd197
+			// TODO Auto-generated method stub
5bd197
+			return null;
5bd197
+		}
5bd197
+
5bd197
 	}
5bd197
 
5bd197
 	public class Facade implements LogService {
5bd197
@@ -112,6 +144,36 @@ public class ConsoleLogger implements LogReaderService {
5bd197
 
5bd197
 		}
5bd197
 
5bd197
+		@Override
5bd197
+		public Logger getLogger(String name) {
5bd197
+			// TODO Auto-generated method stub
5bd197
+			return null;
5bd197
+		}
5bd197
+
5bd197
+		@Override
5bd197
+		public Logger getLogger(Class clazz) {
5bd197
+			// TODO Auto-generated method stub
5bd197
+			return null;
5bd197
+		}
5bd197
+
5bd197
+		@Override
5bd197
+		public <L extends Logger> L getLogger(String name, Class<L> loggerType) {
5bd197
+			// TODO Auto-generated method stub
5bd197
+			return null;
5bd197
+		}
5bd197
+
5bd197
+		@Override
5bd197
+		public <L extends Logger> L getLogger(Class clazz, Class<L> loggerType) {
5bd197
+			// TODO Auto-generated method stub
5bd197
+			return null;
5bd197
+		}
5bd197
+
5bd197
+		@Override
5bd197
+		public <L extends Logger> L getLogger(Bundle bundle, String name, Class<L> loggerType) {
5bd197
+			// TODO Auto-generated method stub
5bd197
+			return null;
5bd197
+		}
5bd197
+
5bd197
 	}
5bd197
 
5bd197
 	public ConsoleLogger(BundleContext context) {
5bd197
-- 
5bd197
2.20.1
5bd197