public class TestingLog extends Object implements org.osgi.service.log.LogService
Constructor and Description |
---|
TestingLog() |
Modifier and Type | Method and Description |
---|---|
boolean |
check(String... patterns) |
TestingLog |
debugs() |
TestingLog |
direct() |
TestingLog |
errors() |
TestingLog |
filter(String pattern) |
TestingLog |
full() |
List<org.osgi.service.log.LogEntry> |
getEntries() |
TestingLog |
infos() |
TestingLog |
level(int level) |
void |
log(int level,
String message) |
void |
log(int level,
String message,
Throwable exception) |
void |
log(org.osgi.framework.ServiceReference sr,
int level,
String message) |
void |
log(org.osgi.framework.ServiceReference sr,
int level,
String message,
Throwable exception) |
TestingLog |
stacktrace() |
TestingLog |
warnings() |
public void log(int level, String message)
log
in interface org.osgi.service.log.LogService
public void log(int level, String message, Throwable exception)
log
in interface org.osgi.service.log.LogService
public void log(org.osgi.framework.ServiceReference sr, int level, String message)
log
in interface org.osgi.service.log.LogService
public void log(org.osgi.framework.ServiceReference sr, int level, String message, Throwable exception)
log
in interface org.osgi.service.log.LogService
public List<org.osgi.service.log.LogEntry> getEntries()
public TestingLog filter(String pattern)
public TestingLog stacktrace()
public TestingLog direct()
public TestingLog errors()
public TestingLog warnings()
public TestingLog infos()
public TestingLog debugs()
public TestingLog level(int level)
public TestingLog full()
public boolean check(String... patterns)
Copyright © 2021 aQute SARL. All rights reserved.