public class ServiceLogUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
XTF_SLS_HEADER_LABEL |
| Constructor and Description |
|---|
ServiceLogUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
formatStreamedLogLine(String prefix)
Formats the given prefix into a conventional header for a any streamed log line so that it is clear to the end
user that it is coming from a service log rather than from the current process one
|
static String |
getConventionallyPrefixedLogMessage(String originalMessage)
Adds a prefix to the message which is passed in, in order to display that it is part of the logs streaming
process, i.e.
|
public static final String XTF_SLS_HEADER_LABEL
public static String getConventionallyPrefixedLogMessage(String originalMessage)
originalMessage - the original messagepublic static String formatStreamedLogLine(String prefix)
prefix - The prefix that will be part of the headerCopyright © 2022. All rights reserved.