메소드 | 설명 | |
---|---|---|
AddOutput ( ILogOutput writer ) : void |
Adds an output to write log entries to.
|
|
Assembly ( |
Returns a string that can be used for representing a System.Reflection.Assembly in log entries.
|
|
ConstructorInfo ( |
Returns a string that can be used for representing a constructor in log entries.
|
|
CurrentMethod ( int skipFrames, bool includeDeclaringType = true ) : string |
Returns the name of the caller method.
|
|
CurrentStackFrame ( int skipFrames ) : System.Diagnostics.StackFrame |
Retrieves the current stack frame.
|
|
CurrentType ( int skipFrames ) : string |
Returns the name of the caller methods declaring type.
|
|
EventInfo ( |
Returns a string that can be used for representing an event in log entries.
|
|
Exception ( |
Returns a string that can be used for representing an exception in log entries. It usually does not include the full call stack and is significantly shorter than an
|
|
FieldInfo ( |
Returns a string that can be used for representing a field in log entries.
|
|
Log ( string name ) : System |
Creates a new Log.
|
|
Log ( string name, SharedState stateHolder ) : System |
Creates a new Log.
|
|
MemberInfo ( |
Returns a string that can be used for representing a(ny) member in log entries.
|
|
MethodInfo ( |
Returns a string that can be used for representing a method or constructor in log entries.
|
|
MethodInfo ( |
Returns a string that can be used for representing a method in log entries.
|
|
PopIndent ( ) : void |
Decreases the current log entry indent.
|
|
PropertyInfo ( |
Returns a string that can be used for representing a property in log entries.
|
|
PushIndent ( ) : void |
Increases the current log entry indent.
|
|
RemoveOutput ( ILogOutput writer ) : void |
Removes a certain output.
|
|
Type ( |
Returns a string that can be used for representing a System.Type in log entries.
|
|
Write ( string format ) : void |
Writes a new log entry.
|
|
WriteError ( string format ) : void |
Writes a new error log entry.
|
|
WriteWarning ( string format ) : void |
Writes a new warning log entry.
|
메소드 | 설명 | |
---|---|---|
FindContext ( object obj ) : object | ||
FormatMessage ( string format, object obj ) : string | ||
Log ( ) : System | ||
Write ( LogMessageType type, string format, object context ) : void |
public static Assembly ( |
||
asm | ||
리턴 | string |
public static ConstructorInfo ( |
||
info | ||
includeDeclaringType | bool | If true, the constructors declaring type is included in the returned name. |
리턴 | string |
public static CurrentMethod ( int skipFrames, bool includeDeclaringType = true ) : string | ||
skipFrames | int | The number of frames to skip. This function itsself is omitted by default. |
includeDeclaringType | bool | If true, the methods declaring type is included in the returned name. |
리턴 | string |
public static CurrentStackFrame ( int skipFrames ) : System.Diagnostics.StackFrame | ||
skipFrames | int | The number of frames to skip. This function itsself is omitted by default. |
리턴 | System.Diagnostics.StackFrame |
public static CurrentType ( int skipFrames ) : string | ||
skipFrames | int | The number of frames to skip. This function itsself is omitted by default. |
리턴 | string |
public static EventInfo ( |
||
info | ||
includeDeclaringType | bool | If true, the events declaring type is included in the returned name. |
리턴 | string |
public static Exception ( |
||
e | ||
callStack | bool | |
리턴 | string |
public static FieldInfo ( |
||
info | ||
includeDeclaringType | bool | If true, the fields declaring type is included in the returned name. |
리턴 | string |
public Log ( string name, SharedState stateHolder ) : System | ||
name | string | The Logs name. |
stateHolder | SharedState | The Logs state value holder that may be shared with other Logs. |
리턴 | System |
public static MemberInfo ( |
||
info | ||
includeDeclaringType | bool | If true, the members declaring type is included in the returned name. |
리턴 | string |
public static MethodInfo ( |
||
info | ||
includeDeclaringType | bool | If true, the methods or constructors declaring type is included in the returned name. |
리턴 | string |
public static MethodInfo ( |
||
info | ||
includeDeclaringType | bool | If true, the methods declaring type is included in the returned name. |
리턴 | string |
public static PropertyInfo ( |
||
info | ||
includeDeclaringType | bool | If true, the properties declaring type is included in the returned name. |
리턴 | string |