C# Class JBLogger, unity-JBConsole

显示文件 Open project: spaceapegames/unity-JBConsole

Public Properties

Property Type Description
RecordStackTrace bool
maxLogs int

Public Methods

Method Description
Add ( ConsoleLog log ) : void
AddCh ( ConsoleLevel level, string channel, object objects ) : ConsoleLog
AddCh ( ConsoleLevel level, string channel, string message ) : void
Changed ( ) : void
Clear ( ) : void
Debug ( ) : void
Debug ( string message ) : void
DebugCh ( string channel ) : void
DebugCh ( string channel, string message ) : void
Error ( ) : void
Error ( string message ) : void
ErrorCh ( string channel ) : void
ErrorCh ( string channel, string message ) : void
Fatal ( ) : void
Fatal ( string message ) : void
FatalCh ( string channel ) : void
FatalCh ( string channel, string message ) : void
GetLogs ( ) : IEnumerable
GetStringOf ( object objects, List references ) : string
Info ( ) : void
Info ( string message ) : void
InfoCh ( string channel ) : void
InfoCh ( string channel, string message ) : void
Log ( ) : void
Log ( string message ) : void
Warn ( ) : void
Warn ( string message ) : void
WarnCh ( string channel ) : void
WarnCh ( string channel, string message ) : void

Protected Methods

Method Description
JBLogger ( ) : System

Method Details

Add() public method

public Add ( ConsoleLog log ) : void
log ConsoleLog
return void

AddCh() public method

public AddCh ( ConsoleLevel level, string channel, object objects ) : ConsoleLog
level ConsoleLevel
channel string
objects object
return ConsoleLog

AddCh() public method

public AddCh ( ConsoleLevel level, string channel, string message ) : void
level ConsoleLevel
channel string
message string
return void

Changed() public method

public Changed ( ) : void
return void

Clear() public method

public Clear ( ) : void
return void

Debug() public static method

public static Debug ( ) : void
return void

Debug() public static method

public static Debug ( string message ) : void
message string
return void

DebugCh() public static method

public static DebugCh ( string channel ) : void
channel string
return void

DebugCh() public static method

public static DebugCh ( string channel, string message ) : void
channel string
message string
return void

Error() public static method

public static Error ( ) : void
return void

Error() public static method

public static Error ( string message ) : void
message string
return void

ErrorCh() public static method

public static ErrorCh ( string channel ) : void
channel string
return void

ErrorCh() public static method

public static ErrorCh ( string channel, string message ) : void
channel string
message string
return void

Fatal() public static method

public static Fatal ( ) : void
return void

Fatal() public static method

public static Fatal ( string message ) : void
message string
return void

FatalCh() public static method

public static FatalCh ( string channel ) : void
channel string
return void

FatalCh() public static method

public static FatalCh ( string channel, string message ) : void
channel string
message string
return void

GetLogs() public method

public GetLogs ( ) : IEnumerable
return IEnumerable

GetStringOf() public static method

public static GetStringOf ( object objects, List references ) : string
objects object
references List
return string

Info() public static method

public static Info ( ) : void
return void

Info() public static method

public static Info ( string message ) : void
message string
return void

InfoCh() public static method

public static InfoCh ( string channel ) : void
channel string
return void

InfoCh() public static method

public static InfoCh ( string channel, string message ) : void
channel string
message string
return void

JBLogger() protected method

protected JBLogger ( ) : System
return System

Log() public static method

public static Log ( ) : void
return void

Log() public static method

public static Log ( string message ) : void
message string
return void

Warn() public static method

public static Warn ( ) : void
return void

Warn() public static method

public static Warn ( string message ) : void
message string
return void

WarnCh() public static method

public static WarnCh ( string channel ) : void
channel string
return void

WarnCh() public static method

public static WarnCh ( string channel, string message ) : void
channel string
message string
return void

Property Details

RecordStackTrace public_oe property

public bool RecordStackTrace
return bool

maxLogs public_oe property

public int maxLogs
return int