lib/solid-logger.js
function initWithFile(configPath){
    var configString = fs.readFileSync(path.resolve(configPath));

    this.config = JSON.parse(configString);
    this.init(this.config);

    return this;
}
function initWithFile(configPath){
    var configString = fs.readFileSync(path.resolve(configPath));

    this.config = JSON.parse(configString);
    this.init(this.config);

    return this;
}
function initWithFile ( configPath ) { var configString = fs . readFileSync ( path . resolve ( configPath ) ) ; this . config = JSON . parse ( configString ) ; this . init ( this . config ) ; return this ; }
Method that will load configuration info for your adapters from a file.
Method that will load configuration info for your adapters from a file.
@param configPath path to your configuration file
@returns {logger}
Method that will load configuration info for your adapters from a file . Method that will load configuration info for your adapters from a file .