Bug 610832 - Get rid of useless getters. r=rnewman

This commit is contained in:
Philipp von Weitershausen 2011-06-13 20:39:14 +02:00
parent 69184b7e5c
commit e8ffa45f46

View File

@ -88,18 +88,18 @@ let Log4Moz = {
Log4Moz.repository = value;
},
get LogMessage() { return LogMessage; },
get Logger() { return Logger; },
get LoggerRepository() { return LoggerRepository; },
LogMessage: LogMessage,
Logger: Logger,
LoggerRepository: LoggerRepository,
get Formatter() { return Formatter; },
get BasicFormatter() { return BasicFormatter; },
Formatter: Formatter,
BasicFormatter: BasicFormatter,
get Appender() { return Appender; },
get DumpAppender() { return DumpAppender; },
get ConsoleAppender() { return ConsoleAppender; },
get FileAppender() { return FileAppender; },
get RotatingFileAppender() { return RotatingFileAppender; },
Appender: Appender,
DumpAppender: DumpAppender,
ConsoleAppender: ConsoleAppender,
FileAppender: FileAppender,
RotatingFileAppender: RotatingFileAppender,
// Logging helper:
// let logger = Log4Moz.repository.getLogger("foo");