C# Class TcmDebugger.Extensions.LoggerExtensions

Extension functions for T:Tridion.ContentManager.Templating.TemplatingLogger
Exibir arquivo Open project: mvlasenko/TridionVSRazorExtension

Public Methods

Method Description
Debug ( this logger, String format ) : void

Log a debug message

Debug ( this logger, String message, Exception ex ) : void

Log a debug message

Error ( this logger, String format ) : void

Log an error message

Error ( this logger, String message, Exception ex ) : void

Log an error message

Info ( this logger, String format ) : void

Log an information message

Info ( this logger, String message, Exception ex ) : void

Log an information message

TraceException ( Exception ex ) : string

Output a log trace for the given T:System.Exception

Warning ( this logger, String format ) : void

Log a warning message

Warning ( this logger, String message, Exception ex ) : void

Log a warning message

Method Details

Debug() public static method

Log a debug message
public static Debug ( this logger, String format ) : void
logger this
format String Message format string
return void

Debug() public static method

Log a debug message
public static Debug ( this logger, String message, Exception ex ) : void
logger this
message String The message to log
ex System.Exception Associated exception to output
return void

Error() public static method

Log an error message
public static Error ( this logger, String format ) : void
logger this
format String Message format string
return void

Error() public static method

Log an error message
public static Error ( this logger, String message, Exception ex ) : void
logger this
message String The message to log
ex System.Exception Associated exception to output
return void

Info() public static method

Log an information message
public static Info ( this logger, String format ) : void
logger this
format String Message / Message format string
return void

Info() public static method

Log an information message
public static Info ( this logger, String message, Exception ex ) : void
logger this
message String The message to log
ex System.Exception Associated exception to output
return void

TraceException() public static method

Output a log trace for the given T:System.Exception
public static TraceException ( Exception ex ) : string
ex System.Exception
return string

Warning() public static method

Log a warning message
public static Warning ( this logger, String format ) : void
logger this
format String Message / Message format string
return void

Warning() public static method

Log a warning message
public static Warning ( this logger, String message, Exception ex ) : void
logger this
message String The message to log
ex System.Exception Associated exception to output
return void