diff --git a/logger/src/main/java/com/orhanobut/logger/LoggerPrinter.java b/logger/src/main/java/com/orhanobut/logger/LoggerPrinter.java index a8f68439..37a0ac09 100644 --- a/logger/src/main/java/com/orhanobut/logger/LoggerPrinter.java +++ b/logger/src/main/java/com/orhanobut/logger/LoggerPrinter.java @@ -208,6 +208,10 @@ private synchronized void log(int logType, String msg, Object... args) { String message = createMessage(msg, args); int methodCount = getMethodCount(); + if (TextUtils.isEmpty(message)) { + message = "Empty/NULL log message"; + } + logTopBorder(logType, tag); logHeaderContent(logType, tag, methodCount);