| Package | Description |
|---|---|
| net.lecousin.framework.application |
Main classes to initialize this library: LCCore and Application.
|
| net.lecousin.framework.log |
Logging.
|
| net.lecousin.framework.log.appenders |
Logging appenders.
|
| Modifier and Type | Method and Description |
|---|---|
static IAsync<ApplicationBootstrapException> |
Application.start(Artifact artifact,
String[] commandLineArguments,
Map<String,String> properties,
boolean debugMode,
ThreadFactory threadFactory,
LibrariesManager librariesManager,
Appender defaultLogAppender)
Method to call at the beginning of the application, typically in the main method.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LoggerFactory.configure(String name,
Appender appender,
Logger.Level level)
Configure a logger with an appender.
|
void |
LoggerFactory.setDefault(Appender appender)
Set the default appender.
|
| Constructor and Description |
|---|
LoggerFactory(Application app,
Appender defaultAppender)
Constructor.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ConsoleAppender
Log appender to the console.
|
class |
MultipleAppender
Log appender that forwards logs to multiple appenders.
|
class |
RollingFileAppender
Log appender that appends to a file with a maximum size.
|
| Constructor and Description |
|---|
MultipleAppender(LoggerFactory factory,
Appender... appenders)
Constructor.
|
| Constructor and Description |
|---|
ConsoleAppender(LoggerFactory factory,
XMLStreamReader reader,
Map<String,Appender> appenders)
Constructor.
|
MultipleAppender(LoggerFactory factory,
XMLStreamReader reader,
Map<String,Appender> appenders)
Constructor.
|
RollingFileAppender(LoggerFactory factory,
XMLStreamReader reader,
Map<String,Appender> appenders)
Constructor.
|
Copyright © 2019. All rights reserved.