-
public class LogParametersRepresents parameters related to a log message.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classLogParameters.Builder
-
Constructor Summary
Constructors Constructor Description LogParameters(LogModule module, LogLevel level, String timestamp, String file, String function, int line, String tag, String message, String thread)DEPRECATED - Construct the LogParameters object using LogParameters.Builder Construtct a LogParameters object. LogParameters(LogLevel level, String tag, String message)DEPRECATED - Construct the LogParameters object using LogParameters.Builder Construct a LogParameters object.
-
Method Summary
Modifier and Type Method Description static StringgetTimestamp()-
-
Constructor Detail
-
LogParameters
LogParameters(LogModule module, LogLevel level, String timestamp, String file, String function, int line, String tag, String message, String thread)
DEPRECATED - Construct the LogParameters object using LogParameters.Builder Construtct a LogParameters object.- Parameters:
module- LogModule that generated this log message.level- LogLevel at which this log message was generated.timestamp- Local Timestamp in YY-MM-DD HH:MM:SS.MMM format as a string.file- Source file that generated this log message.function- Method within which this log message was generated.line- Line number of the log message within the source file.tag- Metadata string.message- Log message text.thread- Thread name or id.
-
LogParameters
LogParameters(LogLevel level, String tag, String message)
DEPRECATED - Construct the LogParameters object using LogParameters.Builder Construct a LogParameters object.- Parameters:
level- LogLevel at which this log message was generated.tag- String tag metadata.message- Log message text.
-
-
Method Detail
-
getTimestamp
static String getTimestamp()
-
-
-
-