Home Identifier Source Repository
import {Log} from 'deep-log/lib/Log.js'
public class | source

Log

Extends:

deep-kernel~Kernel.ContainerAware → Log

Logging manager

Static Member Summary

Static Public Members
public static get
public static get
public static get
public static get
public static get
public static get
public static get
public static get
public static get

Constructor Summary

Public Constructor
public

constructor(drivers: Object)

Member Summary

Public Members
public get

drivers: Core.Generic.ObjectStorage: *

Method Summary

Public Methods
public

boot(kernel: Kernel, callback: Function)

Booting a certain service
public
public

log(msg: String, level: String, context: *): *

public

register(driver: AbstractDriver | String, args: Array): Log

Static Public Members

public static get ALERT: String: string source

Return:

String

public static get CRITICAL: String: string source

Return:

String

public static get DEBUG: String: string source

Return:

String

public static get EMERGENCY: String: string source

Return:

String

public static get ERROR: String: string source

Return:

String

public static get INFO: String: string source

Return:

String

public static get LEVELS: Array: * source

Return:

Array

public static get NOTICE: String: string source

Return:

String

public static get WARNING: String: string source

Return:

String

Public Constructors

public constructor(drivers: Object) source

Params:

NameTypeAttributeDescription
drivers Object

Public Members

public get drivers: Core.Generic.ObjectStorage: * source

Return:

Core.Generic.ObjectStorage

Public Methods

public boot(kernel: Kernel, callback: Function) source

Booting a certain service

Params:

NameTypeAttributeDescription
kernel Kernel
callback Function

public create(type: String, args: Array): AbstractDriver source

Params:

NameTypeAttributeDescription
type String
args Array

Return:

AbstractDriver

public log(msg: String, level: String, context: *): * source

Params:

NameTypeAttributeDescription
msg String
level String
context *

Return:

*

Log

public register(driver: AbstractDriver | String, args: Array): Log source

Params:

NameTypeAttributeDescription
driver AbstractDriver | String
args Array

Return:

Log