//
//  XTLogConfig.h
//  TadsTerp
//
//  Created by Rune Berg on 16/04/14.
//  Copyright (c) 2014 Rune Berg. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "XTLoggerLevel.h"


@class XTLogger; // forward descl.


@interface XTLogConfig : NSObject

#define XT_DEFAULT_LOG_LEVEL XT_LEVEL_WARN

+ (void)restoreFromPrefs;

+ (XTLogger *)loggerForName:(NSString *)name;

+ (void)registerLoggerForClass:(Class)aClass;

+ (void)registerLoggerForName:(NSString *)name;

+ (XTLoggerLevel)levelForName:(NSString *)name;

+ (NSArray *)appendersForName:(NSString *)name;

@end
