- All Known Implementing Classes:
JavaSolaLoggerFactory
@NullMarked
public interface SolaLoggerFactory
SolaLoggerFactory is an interface for defining the api for creating new
SolaLogger
instances for a target
SolaPlatform
.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The default log file to use if not provided. -
Method Summary
Modifier and TypeMethodDescriptiondefault SolaLogger
Creates a newSolaLogger
for desiredClass
.Creates a newSolaLogger
for desiredClass
.
-
Field Details
-
DEFAULT_LOG_FILE
The default log file to use if not provided.- See Also:
-
-
Method Details
-
getLogger
Creates a newSolaLogger
for desiredClass
. The logs for the class will be in desired logFile.- Parameters:
clazz
- the class the logger is forlogFile
- the output log file- Returns:
- new logger instance
-
getLogger
- Parameters:
clazz
- the class the logger is for- Returns:
- new logger instance
-