Logger (gb.logging)
这个类提供了一个基本机制用于发送消息到一个日志。
就像你可以创建多个Logger对象一样, 这个组件提供了很好的方法用于管理多个活动日志。
This class can be used like an object by creating a hidden instance on demand.
This class is
creatable.
This class can be used as a
function.
Constants
Critical
|
This is only here for compatibility and is now deprecated, please use LogLevel instead.
|
Debug
|
This is only here for compatibility and is now deprecated, please use LogLevel instead.
|
DefaultFormat
|
|
Error
|
This is only here for compatibility and is now deprecated, please use LogLevel instead.
|
Info
|
This is only here for compatibility and is now deprecated, please use LogLevel instead.
|
Stderr
|
|
Stdout
|
|
Warning
|
This is only here for compatibility and is now deprecated, please use LogLevel instead.
|
Properties
Methods