C# Класс TcmDebugger.Extensions.LoggerExtensions

Extension functions for T:Tridion.ContentManager.Templating.TemplatingLogger
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

Debug() публичный статический Метод

Log a debug message
public static Debug ( this logger, String format ) : void
logger this
format String Message format string
Результат void

Debug() публичный статический Метод

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
Результат void

Error() публичный статический Метод

Log an error message
public static Error ( this logger, String format ) : void
logger this
format String Message format string
Результат void

Error() публичный статический Метод

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
Результат void

Info() публичный статический Метод

Log an information message
public static Info ( this logger, String format ) : void
logger this
format String Message / Message format string
Результат void

Info() публичный статический Метод

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
Результат void

TraceException() публичный статический Метод

Output a log trace for the given T:System.Exception
public static TraceException ( Exception ex ) : string
ex System.Exception
Результат string

Warning() публичный статический Метод

Log a warning message
public static Warning ( this logger, String format ) : void
logger this
format String Message / Message format string
Результат void

Warning() публичный статический Метод

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
Результат void