added patch for allow to use logger with class instead of an instance
@@ -107,7 +107,9 @@ public class OLogManager {
}
final String requesterName;
- if (iRequester != null) {
+ if (iRequester instanceof Class<?>) {
+ requesterName = ((Class<?>) iRequester).getName();
+ } else if (iRequester != null) {
requesterName = iRequester.getClass().getName();
} else {
requesterName = DEFAULT_LOG;
