public final class SysErrLogger extends Object
Modifier and Type | Field and Description |
---|---|
static SysErrLogger |
FAKE_LOGGER
FAKE LOGGER used where no LOG could be done
|
Modifier and Type | Method and Description |
---|---|
void |
ignoreLog(Throwable throwable)
Utility method to log nothing
Used only in classes where WaarpLogger is not allowed
|
void |
syserr()
Utility method to log through System.err the current Stacktrace
Used only in classes where WaarpLogger is not allowed
|
void |
syserr(Object message)
Utility method to log through System.err
Used only in classes where WaarpLogger is not allowed
|
void |
syserr(String message,
Throwable e)
Utility method to log through System.err the current Stacktrace
Used only in classes where WaarpLogger is not allowed
|
void |
syserr(Throwable e)
Utility method to log through System.err the current Stacktrace
Used only in classes where WaarpLogger is not allowed
|
void |
syserrNoLn(Object message)
Utility method to log through System.err
Used only in classes where WaarpLogger is not allowed
|
void |
sysout()
Utility method to log through System.out
Used only in classes where WaarpLogger is not allowed
|
void |
sysout(Object message)
Utility method to log through System.out
Used only in classes where WaarpLogger is not allowed
|
void |
sysoutFormat(String format,
Object... args)
Utility method to log through System.out
|
public static final SysErrLogger FAKE_LOGGER
public final void ignoreLog(Throwable throwable)
Used only in classes where WaarpLogger is not allowed
throwable
- to log ignorepublic final void sysout()
Used only in classes where WaarpLogger is not allowed
public final void sysout(Object message)
Used only in classes where WaarpLogger is not allowed
message
- to write for no error logpublic final void sysoutFormat(String format, Object... args)
format
- args
- public final void syserrNoLn(Object message)
Used only in classes where WaarpLogger is not allowed
message
- to write for errorpublic final void syserr(Object message)
Used only in classes where WaarpLogger is not allowed
message
- to write for errorpublic final void syserr()
Used only in classes where WaarpLogger is not allowed
public final void syserr(String message, Throwable e)
Used only in classes where WaarpLogger is not allowed
message
- to write for errore
- throw to write as errorpublic final void syserr(Throwable e)
Used only in classes where WaarpLogger is not allowed
e
- throw to write as errorCopyright © 2009–2022 Waarp. All rights reserved.