nimTitle logging logging.html module std/logging 0 nim lvlAll logging.html#lvlAll Level.lvlAll 152 nim lvlDebug logging.html#lvlDebug Level.lvlDebug 152 nim lvlInfo logging.html#lvlInfo Level.lvlInfo 152 nim lvlNotice logging.html#lvlNotice Level.lvlNotice 152 nim lvlWarn logging.html#lvlWarn Level.lvlWarn 152 nim lvlError logging.html#lvlError Level.lvlError 152 nim lvlFatal logging.html#lvlFatal Level.lvlFatal 152 nim lvlNone logging.html#lvlNone Level.lvlNone 152 nim Level logging.html#Level enum Level 152 nim LevelNames logging.html#LevelNames const LevelNames 188 nim defaultFmtStr logging.html#defaultFmtStr const defaultFmtStr 192 nim verboseFmtStr logging.html#verboseFmtStr const verboseFmtStr 193 nim Logger logging.html#Logger type Logger 213 nim ConsoleLogger logging.html#ConsoleLogger type ConsoleLogger 229 nim FileLogger logging.html#FileLogger type FileLogger 244 nim RollingFileLogger logging.html#RollingFileLogger type RollingFileLogger 259 nim substituteLog logging.html#substituteLog,string,Level,varargs[string,] proc substituteLog(frmt: string; level: Level; args: varargs[string, `$`]): string 282 nim log logging.html#log.e,Logger,Level,varargs[string,] method log(logger: Logger; level: Level; args: varargs[string, `$`]) 337 nim log logging.html#log.e,ConsoleLogger,Level,varargs[string,] method log(logger: ConsoleLogger; level: Level; args: varargs[string, `$`]) 353 nim newConsoleLogger logging.html#newConsoleLogger proc newConsoleLogger(levelThreshold = lvlAll; fmtStr = defaultFmtStr;\n useStderr = false; flushThreshold = defaultFlushThreshold): ConsoleLogger 399 nim log logging.html#log.e,FileLogger,Level,varargs[string,] method log(logger: FileLogger; level: Level; args: varargs[string, `$`]) 428 nim defaultFilename logging.html#defaultFilename proc defaultFilename(): string 461 nim newFileLogger logging.html#newFileLogger,File proc newFileLogger(file: File; levelThreshold = lvlAll; fmtStr = defaultFmtStr;\n flushThreshold = defaultFlushThreshold): FileLogger 468 nim newFileLogger logging.html#newFileLogger,FileMode,int proc newFileLogger(filename = defaultFilename(); mode: FileMode = fmAppend;\n levelThreshold = lvlAll; fmtStr = defaultFmtStr;\n bufSize: int = -1; flushThreshold = defaultFlushThreshold): FileLogger 498 nim newRollingFileLogger logging.html#newRollingFileLogger,FileMode,Positive,int proc newRollingFileLogger(filename = defaultFilename(); mode: FileMode = fmReadWrite;\n levelThreshold = lvlAll; fmtStr = defaultFmtStr;\n maxLines: Positive = 1000; bufSize: int = -1;\n flushThreshold = defaultFlushThreshold): RollingFileLogger 554 nim log logging.html#log.e,RollingFileLogger,Level,varargs[string,] method log(logger: RollingFileLogger; level: Level; args: varargs[string, `$`]) 611 nim log logging.html#log.t,Level,varargs[string,] template log(level: Level; args: varargs[string, `$`]) 660 nim debug logging.html#debug.t,varargs[string,] template debug(args: varargs[string, `$`]) 689 nim info logging.html#info.t,varargs[string,] template info(args: varargs[string, `$`]) 710 nim notice logging.html#notice.t,varargs[string,] template notice(args: varargs[string, `$`]) 731 nim warn logging.html#warn.t,varargs[string,] template warn(args: varargs[string, `$`]) 752 nim error logging.html#error.t,varargs[string,] template error(args: varargs[string, `$`]) 772 nim fatal logging.html#fatal.t,varargs[string,] template fatal(args: varargs[string, `$`]) 794 nim addHandler logging.html#addHandler,Logger proc addHandler(handler: Logger) 815 nim getHandlers logging.html#getHandlers proc getHandlers(): seq[Logger] 830 nim setLogFilter logging.html#setLogFilter,Level proc setLogFilter(lvl: Level) 837 nim getLogFilter logging.html#getLogFilter proc getLogFilter(): Level 856 heading Basic usage logging.html#basic-usage Basic usage 0 heading Handlers logging.html#basic-usage-handlers Handlers 0 heading Format strings logging.html#basic-usage-format-strings Format strings 0 heading Notes when using multiple threads logging.html#basic-usage-notes-when-using-multiple-threads Notes when using multiple threads 0 heading See also logging.html#see-also See also 0 nimgrp newfilelogger logging.html#newFileLogger-procs-all proc 468 nimgrp log logging.html#log-methods-all method 337