var searchIndex = {}; searchIndex["fern"] = {"doc":"Fern is a runtime-configurable rust logging library.","items":[[3,"DispatchConfig","fern","This is the base logger configuration in fern.",null,null],[12,"format","","The format for this logger. All log messages coming in will be sent through this closure\nbefore being sent to child loggers.",0,null],[12,"output","","A list of loggers to send messages to. Any messages that are sent to this logger that\naren't filtered are sent to each of these loggers in turn.",0,null],[12,"level","","The level of this logger. Any messages which have a lower level than this level won't be\npassed on.",0,null],[3,"OutputConfig","","This config struct contains various output options to send messages to.",null,null],[3,"NullLogger","","A logger implementation which does nothing with logged messages.",null,null],[4,"LogError","","Error that may occur within logging",null,null],[13,"Io","","IO Error",1,null],[13,"Poison","","Poison error - this will only occur within fern logger implementations if write!() panics.",1,null],[4,"InitError","","Error that may occur within init_global_logger()",null,null],[13,"Io","","IO Error - this will only occur within fern logger implementations when opening files",2,null],[13,"SetLoggerError","","SetLoggerError - this occurs if the log crate has already been initialized when\ninit_global_logger() is called.",2,null],[5,"init_global_logger","","Initializes the global logger of the log crate with the specified log configuration. This will\nreturn an `InitError(log::SetLoggerError)` if the global logger has already been initialized.",null,{"inputs":[{"name":"l"},{"name":"loglevelfilter"}],"output":{"name":"result"}}],[11,"child","","Returns a child logger that sends messages to another DispatchConfig.",3,{"inputs":[{"name":"dispatchconfig"}],"output":{"name":"outputconfig"}}],[11,"file","","Returns a file logger. All messages sent to this will be outputted to the specified path.\nNote that the file will be opened with write(true), append(true) and create(true). If you\nneed to open with other options, use `OutputConfig::file_with_options()`",3,{"inputs":[{"name":"p"}],"output":{"name":"outputconfig"}}],[11,"file_with_options","","Returns a file logger with OpenOptions. All messages will be sent to the specified file.\nThe file will be opened using the specified OpenOptions.",3,{"inputs":[{"name":"p"},{"name":"openoptions"}],"output":{"name":"outputconfig"}}],[11,"stdout","","Returns an stdout logger. All messages sent to this will be printed to stdout.",3,{"inputs":[],"output":{"name":"outputconfig"}}],[11,"stderr","","Returns an stderr logger. All messages sent to this will be printed to stderr.",3,{"inputs":[],"output":{"name":"outputconfig"}}],[11,"null","","Returns a null logger. All messages sent to this logger will disappear into the void.",3,{"inputs":[],"output":{"name":"outputconfig"}}],[11,"custom","","Custom implementation logger. All messages sent to this logger will be passed on to your\ncustom logger.",3,{"inputs":[{"name":"box"}],"output":{"name":"outputconfig"}}],[11,"into_fern_logger","","",3,null],[11,"into_log","","",3,null],[11,"into_fern_logger","","",0,null],[11,"into_log","","",0,null],[11,"clone","","",4,null],[11,"log","","",4,null],[11,"enabled","","",4,null],[11,"log","","",4,null],[11,"fmt","","",1,null],[11,"from","","",1,{"inputs":[{"name":"error"}],"output":{"name":"logerror"}}],[11,"from","","",1,{"inputs":[{"name":"poisonerror"}],"output":{"name":"logerror"}}],[11,"description","","",1,null],[11,"cause","","",1,null],[11,"fmt","","",1,null],[11,"fmt","","",2,null],[11,"from","","",2,{"inputs":[{"name":"error"}],"output":{"name":"initerror"}}],[11,"from","","",2,{"inputs":[{"name":"setloggererror"}],"output":{"name":"initerror"}}],[11,"fmt","","",2,null],[11,"description","","",2,null],[11,"cause","","",2,null],[8,"Logger","","Basic fern logger trait. Something you can send messages to. We have a separate trait from\nlog::Log, because we want errors to propagate upwards and only print in the outermost logger.",null,null],[10,"log","","Logs a given message in this logger.",5,null],[8,"IntoLog","","Trait which represents any logger configuration which can be built into a `fern::Logger` or\n`log::Log`.",null,null],[10,"into_fern_logger","","Builds this configuration into a `fern::Logger` that you can send messages to. This method\ncan be used to generate a logger you can call manually, and catch any errors from. You\nprobably want to use `fern::init_global_logger()` instead of calling this directly.",6,null],[10,"into_log","","Builds this configuration into a `log::Log` that you can send messages to. This will open\nany files, get handles to stdout/stderr, etc. depending on which type of logger this is.",6,null]],"paths":[[3,"DispatchConfig"],[4,"LogError"],[4,"InitError"],[3,"OutputConfig"],[3,"NullLogger"],[8,"Logger"],[8,"IntoLog"]]}; initSearch(searchIndex);