Package velox.api.layer1.common
Class Log
java.lang.Object
velox.api.layer1.common.Log
Allows you to write messages to bookmap log.
NOTE: this part of API is likely to change.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic interfacestatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic Log.LogListenerReturns the current log listener that handles all log messages.static Log.LogLevelstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidperflog()static voidstatic voidstatic longstatic voidsetListener(Log.LogListener listener) Sets the log listener that handles all log messages replacing the previous log listener.static voidsetLogLevel(Log.LogLevel logLevel) static voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic void
-
Constructor Details
-
Log
public Log()
-
-
Method Details
-
setListener
Sets the log listener that handles all log messages replacing the previous log listener. Normally for internal use only: you should not change it, unless you really know what you are doing.- Parameters:
listener- the listener that should handle log messages
-
getListener
Returns the current log listener that handles all log messages. Normally for internal use only: you should not use it, unless you really know what you are doing.- Returns:
- current log listener that handles all log messages
-
setLogLevel
-
getLogLevel
-
trade
-
trade
-
trade
-
trade
-
error
-
error
-
error
-
error
-
warn
-
warn
-
warn
-
warn
-
info
-
info
-
info
-
info
-
debug
-
debug
-
debug
-
debug
-
trace
-
trace
-
trace
-
trace
-
perflog
public static void perflog() -
perflog
-
perflog
-
perflogReset
public static long perflogReset() -
warnFree
-
infoFree
-
debugFree
-
traceFree
-
tradeFree
-