The Logger type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
![]() | Logger |
This constructor created a new Logger instance and
sets its name.
|
Methods
Name | Description | |
---|---|---|
![]() | AddAppender |
Add newAppender to the list of appenders of this
Logger instance.
|
![]() | CallAppenders |
Deliver the LoggingEvent to the attached appenders.
|
![]() | CloseNestedAppenders |
Closes all attached appenders implementing the IAppenderAttachable interface.
|
![]() | ![]() | (Inherited from ![]() |
![]() | ![]() |
Allows an (Inherited from ![]() ![]() ![]() |
![]() | ForcedLog(LoggingEvent) |
Creates a new logging event and logs the event without further checks.
|
![]() | ForcedLog(Type, Level, Object, Exception) |
Creates a new logging event and logs the event without further checks.
|
![]() | GetAppender |
Look for the appender named as name |
![]() | ![]() |
Serves as a hash function for a particular type.
(Inherited from ![]() |
![]() | ![]() |
Gets the (Inherited from ![]() ![]() |
![]() | IsEnabledFor |
Checks if this logger is enabled for a given Level passed as parameter.
|
![]() | Log(LoggingEvent) |
This is the most generic printing method that is intended to be used
by wrappers.
|
![]() | Log(Level, Object, Exception) |
This is the most generic printing method. This generic form is intended to be used by wrappers
|
![]() | Log(Type, Level, Object, Exception) |
This generic form is intended to be used by wrappers.
|
![]() | ![]() |
Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | RemoveAllAppenders |
Remove all previously added appenders from this Logger instance.
|
![]() | RemoveAppender(String) |
Remove the appender passed as parameter form the list of appenders.
|
![]() | RemoveAppender(IAppender) |
Remove the appender passed as parameter form the list of appenders.
|
![]() | ![]() | (Inherited from ![]() |
Properties
Name | Description | |
---|---|---|
![]() | Additivity |
Gets or sets a value indicating if child loggers inherit their parent's appenders.
|
![]() | Appenders |
Get the appenders contained in this logger as an
![]() |
![]() | EffectiveLevel |
Gets the effective level for this logger.
|
![]() | Hierarchy |
Gets or sets the Hierarchy where this
Logger instance is attached to.
|
![]() | Level |
Gets or sets the assigned Level, if any, for this Logger.
|
![]() | Name |
Gets the logger name.
|
![]() | Parent |
Gets or sets the parent logger in the hierarchy.
|
![]() | Repository |
Gets the ILoggerRepository where this
Logger instance is attached to.
|
See Also