Namespace: trace
Methods
-
<static> debug(message)
-
Writes the given message with the trace-level debug to the application trace file
Parameters:
Name Type Description message
string The message to be written to trace Throws:
Throws an error if message is missing. -
<static> error(message)
-
Writes the given message with the trace-level error to the application trace file
Parameters:
Name Type Description message
string The message to be written to trace Throws:
Throws an error if message is missing. -
<static> fatal(message)
-
Writes the given message with the trace-level fatal to the application trace file
Parameters:
Name Type Description message
string The message to be written to trace Throws:
Throws an error if message is missing. -
<static> info(message)
-
Writes the given message with the trace-level info to the application trace file
Parameters:
Name Type Description message
string The message to be written to trace Throws:
Throws an error if message is missing. -
<static> isDebugEnabled() → {Boolean}
-
Returns if the tracer writes an entry in the application trace file for the trace-level debug
Returns:
True if the tracer writes an entry for debug level- Type
- Boolean
-
<static> isErrorEnabled() → {Boolean}
-
Returns if the tracer writes an entry in the application trace file for the trace-level error
Returns:
True if the tracer writes an entry for error level- Type
- Boolean
-
<static> isFatalEnabled() → {Boolean}
-
Returns if the tracer writes an entry in the application trace file for the trace-level fatal
Returns:
True if the tracer writes an entry for fatal level- Type
- Boolean
-
<static> isInfoEnabled() → {Boolean}
-
Returns if the tracer writes an entry in the application trace file for the trace-level info
Returns:
True if the tracer writes an entry for info level- Type
- Boolean
-
<static> isWarningEnabled() → {Boolean}
-
Returns if the tracer writes an entry in the application trace file for the trace-level warning
Returns:
True if the tracer writes an entry for warning level- Type
- Boolean
-
<static> warning(message)
-
Writes the given message with the trace-level warning to the application trace file
Parameters:
Name Type Description message
string The message to be written to trace Throws:
Throws an error if message is missing.