logging: make fmtStr public to be used in user defined loggers

This commit is contained in:
Frank Fischer
2015-05-11 23:29:51 +02:00
parent 0b184f2584
commit 749e808e1e

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