public class LoggingConfig extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PLATFORM_MESSAGE_FORMAT_NAME
Name of property that contains the format of the logging messages on the platform.
|
static String |
PLATFORM_MESSAGE_FORMAT_VALUE
Format of the logging messages on the platform.
|
static String |
PREFIX
Prefix for the configuration entries of the logging configuration.
|
Modifier and Type | Method and Description |
---|---|
String |
getPlatformMessageFormat() |
void |
setPlatformMessageFormat(pattern : String)
Change the pattern of the platform messages.
|
public static val
PREFIX : String
LoggingConfig
public static val
PLATFORM_MESSAGE_FORMAT_NAME : String
LoggingConfig
The format string may contains one of the following elements:
%1
: the date,%2
: the name of the calling function,%3
: the name of the logger,%4
: the logging level,%5
: the message, and%6
: the throwable.public static val
PLATFORM_MESSAGE_FORMAT_VALUE : String
LoggingConfig
The format string may contains one of the following elements:
%1
: the date,%2
: the name of the calling function,%3
: the name of the logger,%4
: the logging level,%5
: the message, and%6
: the throwable.public def
setPlatformMessageFormat(pattern : String) : void
LoggingConfig
The format string may contains one of the following elements:
%1
: the date,%2
: the name of the calling function,%3
: the name of the logger,%4
: the logging level,%5
: the message, and%6
: the throwable.pattern
- the new pattern, or null
to use the default pattern.@Pure
public def
getPlatformMessageFormat() : String
Copyright © 2021 the original authors or authors.