Class SimpleLogRecord
java.lang.Object
org.eclipse.rdf4j.common.logging.base.SimpleLogRecord
- All Implemented Interfaces:
LogRecord
- Direct Known Subclasses:
LogRecordBase
Simple log record, containing only the basics
-
Field Summary
Fields inherited from interface org.eclipse.rdf4j.common.logging.LogRecord
ISO8601_TIMESTAMP_FORMAT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetLevel()
Get log levelGet messageGet stack trace as list of stringsGet thread namegetTime()
Get date timevoid
Set log levelvoid
setMessage
(String message) Set messagevoid
setStackTrace
(List<String> stackTrace) Set stack trace as list of stringsvoid
setThreadName
(String threadName) Set thread namevoid
Set date timetoString()
-
Constructor Details
-
SimpleLogRecord
public SimpleLogRecord()
-
-
Method Details
-
getLevel
Description copied from interface:LogRecord
Get log level -
getMessage
Description copied from interface:LogRecord
Get message- Specified by:
getMessage
in interfaceLogRecord
- Returns:
- text
-
getStackTrace
Description copied from interface:LogRecord
Get stack trace as list of strings- Specified by:
getStackTrace
in interfaceLogRecord
- Returns:
- list of strings
-
getThreadName
Description copied from interface:LogRecord
Get thread name- Specified by:
getThreadName
in interfaceLogRecord
- Returns:
- thread name
-
getTime
Description copied from interface:LogRecord
Get date time -
setLevel
Set log level- Parameters:
level
-
-
setMessage
Set message- Parameters:
message
- text
-
setStackTrace
Set stack trace as list of strings- Parameters:
stackTrace
- list of strings
-
setThreadName
Set thread name- Parameters:
threadName
-
-
setTime
Set date time- Parameters:
time
- time
-
toString
-