|
ColdBox Platform v3.8.0 | ||||
FRAMES |
WEB-INF.cftags.componentcoldbox.system.FrameworkSupertype
coldbox.system.Plugin
coldbox.system.plugins.Logger
public class Logger
This is the frameworks Logger object. It is used for all logging facilities interfacing with LogBox and the ColdBox debugger.
Constructor Summary | |
---|---|
init(any controller)
Constructor |
Method Summary | |
---|---|
void |
debug(string message, [any extraInfo=''])
I log a debug message |
void |
error(string message, [any extraInfo=''])
I log an error message |
void |
fatal(string message, [any extraInfo=''])
I log a fatal message |
coldbox.system.logging.Logger |
getLogger()
This coldbox apps's logger |
void |
info(string message, [any extraInfo=''])
I log an information message |
void |
logEntry(string severity, string message, [any extraInfo=''])
Log a message to the internal logger object |
void |
logError(string message, [any exceptionStruct='[runtime expression]'], [any extraInfo=''])
Log an error into the framework using arguments |
void |
logErrorWithBean(any exceptionBean)
Log an error into the framework using a coldbox exceptionBean |
void |
tracer(string message, [any extraInfo=''])
Log a trace message to the ColdBox debugger panel, not LOGBOX |
void |
warn(string message, [any extraInfo=''])
I log a warning message |
Methods inherited from class WEB-INF.cftags.component |
---|
None
|
Constructor Detail |
---|
public init(any controller)
controller
Method Detail |
---|
public void debug(string message, [any extraInfo=''])
message
- The message to log.extraInfo
- Extra information to append.public void error(string message, [any extraInfo=''])
message
- The message to log.extraInfo
- Extra information to append.public void fatal(string message, [any extraInfo=''])
message
- The message to log.extraInfo
- Extra information to append.public coldbox.system.logging.Logger getLogger()
public void info(string message, [any extraInfo=''])
message
- The message to log.extraInfo
- Extra information to append.public void logEntry(string severity, string message, [any extraInfo=''])
severity
- Severity: fatal,error,warn,info,debug,tracemessage
- The message to log.extraInfo
- Extra information to append.public void logError(string message, [any exceptionStruct='[runtime expression]'], [any extraInfo=''])
message
exceptionStruct
- The CF cfcatch structure.extraInfo
public void logErrorWithBean(any exceptionBean)
exceptionBean
- This is the exception beanpublic void tracer(string message, [any extraInfo=''])
message
- The message to log.extraInfo
- Extra information to append.public void warn(string message, [any extraInfo=''])
message
- The message to log.extraInfo
- Extra information to append.
|
ColdBox Platform v3.8.0 | ||||
FRAMES |