class
Logger
public class Logger Constructors
Logger(String name) Properties
| Name | Type | Description |
|---|---|---|
Name | String | Name of this logger. |
Methods
Void Info(FormattableString message) Void Trace(FormattableString message) Void Warning(FormattableString message) Void Error(FormattableString message) Void Error(Exception exception, FormattableString message) Void Error(Exception exception, Object message) Log an exception as an error, with given message override.
exception — The exception to log. message — The text to override exceptions' message with in the log. Void Error(Exception exception) Log an exception as an error.
exception — The exception to log. Void Warning(Exception exception, FormattableString message) Void Warning(Exception exception, Object message) Log an exception as a warning, with given message override.
exception — The exception to log. message — The text to override exceptions' message with in the log. Void Info(Object message) Log some information. This is the default log severity level.
message — The information to log. Void Trace(Object message) Log some information. This is least severe log level.
message — The information to log. Void Warning(Object message) Log a warning. This is the second most severe log level.
message — The warning to log. Void Error(Object message) Log an error. This is the most severe log level.
message — The error to log.