[ http://issues.apache.org/jira/browse/LOG4NET-97?page=all ]

Ron Grabowski updated LOG4NET-97:
---------------------------------

    Attachment: Make_ILoggerFactory_use_LevelMap.patch

Wrap usages of static Level levels with LevelMap.LookupWithDefault.

> Make Hierarchy's ILoggerFactory aware of the repository's LevelMap
> ------------------------------------------------------------------
>
>                 Key: LOG4NET-97
>                 URL: http://issues.apache.org/jira/browse/LOG4NET-97
>             Project: Log4net
>          Issue Type: Improvement
>            Reporter: Ron Grabowski
>            Priority: Trivial
>         Attachments: Make_ILoggerFactory_use_LevelMap.patch
>
>
> Instead of creating the RootLogger with Level.Debug:
>  
>  return new RootLogger(Level.Debug);
> shouldn't the DefaultLoggerFactory use:
>  return new RootLogger(repository.LevelMap.LookupWithDefault(Level.Debug));
> in case the user has remapped Debug to another value.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to