public class LoggingProfile<T extends LoggingProfile> extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
LoggingProfile.LoggingProfileResources
Child mutators for LoggingProfile
|
| Constructor and Description |
|---|
LoggingProfile(String key) |
| Modifier and Type | Method and Description |
|---|---|
T |
asyncHandler(AsyncHandler value)
Add the AsyncHandler object to the list of subresources
|
T |
asyncHandlers(List<AsyncHandler> value)
Add all AsyncHandler objects to this subresource
|
T |
consoleHandler(ConsoleHandler value)
Add the ConsoleHandler object to the list of subresources
|
T |
consoleHandlers(List<ConsoleHandler> value)
Add all ConsoleHandler objects to this subresource
|
T |
customFormatter(CustomFormatter value)
Add the CustomFormatter object to the list of subresources
|
T |
customFormatters(List<CustomFormatter> value)
Add all CustomFormatter objects to this subresource
|
T |
customHandler(CustomHandler value)
Add the CustomHandler object to the list of subresources
|
T |
customHandlers(List<CustomHandler> value)
Add all CustomHandler objects to this subresource
|
T |
fileHandler(FileHandler value)
Add the FileHandler object to the list of subresources
|
T |
fileHandlers(List<FileHandler> value)
Add all FileHandler objects to this subresource
|
String |
getKey() |
T |
logFile(LogFile value)
Add the LogFile object to the list of subresources
|
T |
logFiles(List<LogFile> value)
Add all LogFile objects to this subresource
|
T |
logger(Logger value)
Add the Logger object to the list of subresources
|
T |
loggers(List<Logger> value)
Add all Logger objects to this subresource
|
T |
patternFormatter(PatternFormatter value)
Add the PatternFormatter object to the list of subresources
|
T |
patternFormatters(List<PatternFormatter> value)
Add all PatternFormatter objects to this subresource
|
T |
periodicRotatingFileHandler(PeriodicRotatingFileHandler value)
Add the PeriodicRotatingFileHandler object to the list of subresources
|
T |
periodicRotatingFileHandlers(List<PeriodicRotatingFileHandler> value)
Add all PeriodicRotatingFileHandler objects to this subresource
|
T |
periodicSizeRotatingFileHandler(PeriodicSizeRotatingFileHandler value)
Add the PeriodicSizeRotatingFileHandler object to the list of subresources
|
T |
periodicSizeRotatingFileHandlers(List<PeriodicSizeRotatingFileHandler> value)
Add all PeriodicSizeRotatingFileHandler objects to this subresource
|
Root |
root()
Defines the root logger for this log context.
|
T |
root(Root value)
Defines the root logger for this log context.
|
T |
sizeRotatingFileHandler(SizeRotatingFileHandler value)
Add the SizeRotatingFileHandler object to the list of subresources
|
T |
sizeRotatingFileHandlers(List<SizeRotatingFileHandler> value)
Add all SizeRotatingFileHandler objects to this subresource
|
LoggingProfile.LoggingProfileResources |
subresources() |
T |
syslogHandler(SyslogHandler value)
Add the SyslogHandler object to the list of subresources
|
T |
syslogHandlers(List<SyslogHandler> value)
Add all SyslogHandler objects to this subresource
|
public LoggingProfile(String key)
public String getKey()
public LoggingProfile.LoggingProfileResources subresources()
public T periodicRotatingFileHandlers(List<PeriodicRotatingFileHandler> value)
value - List of PeriodicRotatingFileHandler objects.public T periodicRotatingFileHandler(PeriodicRotatingFileHandler value)
value - The PeriodicRotatingFileHandler to addpublic T customFormatters(List<CustomFormatter> value)
value - List of CustomFormatter objects.public T customFormatter(CustomFormatter value)
value - The CustomFormatter to addpublic T periodicSizeRotatingFileHandlers(List<PeriodicSizeRotatingFileHandler> value)
value - List of PeriodicSizeRotatingFileHandler objects.public T periodicSizeRotatingFileHandler(PeriodicSizeRotatingFileHandler value)
value - The PeriodicSizeRotatingFileHandler to addpublic T consoleHandlers(List<ConsoleHandler> value)
value - List of ConsoleHandler objects.public T consoleHandler(ConsoleHandler value)
value - The ConsoleHandler to addpublic T loggers(List<Logger> value)
value - List of Logger objects.public T logger(Logger value)
value - The Logger to addpublic T asyncHandlers(List<AsyncHandler> value)
value - List of AsyncHandler objects.public T asyncHandler(AsyncHandler value)
value - The AsyncHandler to addpublic T fileHandlers(List<FileHandler> value)
value - List of FileHandler objects.public T fileHandler(FileHandler value)
value - The FileHandler to addpublic T logFiles(List<LogFile> value)
value - List of LogFile objects.public T logFile(LogFile value)
value - The LogFile to addpublic T patternFormatters(List<PatternFormatter> value)
value - List of PatternFormatter objects.public T patternFormatter(PatternFormatter value)
value - The PatternFormatter to addpublic T sizeRotatingFileHandlers(List<SizeRotatingFileHandler> value)
value - List of SizeRotatingFileHandler objects.public T sizeRotatingFileHandler(SizeRotatingFileHandler value)
value - The SizeRotatingFileHandler to addpublic T syslogHandlers(List<SyslogHandler> value)
value - List of SyslogHandler objects.public T syslogHandler(SyslogHandler value)
value - The SyslogHandler to addpublic T customHandlers(List<CustomHandler> value)
value - List of CustomHandler objects.public T customHandler(CustomHandler value)
value - The CustomHandler to addpublic Root root()
Copyright © 2015 JBoss by Red Hat. All rights reserved.