public static ILog Get( string source ) { LogEntryCreator creator; if ( GetCategory( source ) ) creator = new CategoryLogEntryCreator( source ); else creator = new DefaultLogEntryCreator( source ); return new EnterpriseLogger( writer, creator ); }
public static ILog Get(string source) { LogEntryCreator creator; if (GetCategory(source)) { creator = new CategoryLogEntryCreator(source); } else { creator = new DefaultLogEntryCreator(source); } return(new EnterpriseLogger(writer, creator)); }