Merge pull request #2697 from lyro/devel

logging: make fmtStr public to be used in user defined loggers
This commit is contained in:
Dominik Picheta
2015-05-26 16:10:30 +01:00

View File

@@ -66,7 +66,7 @@ type
Logger* = ref object of RootObj ## abstract logger; the base type of all loggers
levelThreshold*: Level ## only messages of level >= levelThreshold
## should be processed
fmtStr: string ## = defaultFmtStr by default, see substituteLog for $date etc.
fmtStr*: string ## = defaultFmtStr by default, see substituteLog for $date etc.
ConsoleLogger* = ref object of Logger ## logger that writes the messages to the
## console