Log, v1.0.1

Log to BrowserPlus's logfile on disk. The available levels in order of severity are Fatal, Error, Warn, Info, Debug.

BrowserPlus.Log.Fatal({params}, function{}())

Log a fatal error to the Browserplus plugin logging facility.

Test: Fatal()

Parameters

location: string
The location (e.g. method name) from which the log event is emitted.
message: string
The message to be logged.

BrowserPlus.Log.Error({params}, function{}())

Log an error to the Browserplus plugin logging facility.

Test: Error()

Parameters

location: string
The location (e.g. method name) from which the log event is emitted.
message: string
The message to be logged.

BrowserPlus.Log.Warn({params}, function{}())

Log a warning to the Browserplus plugin logging facility.

Test: Warn()

Parameters

location: string
The location (e.g. method name) from which the log event is emitted.
message: string
The message to be logged.

BrowserPlus.Log.Info({params}, function{}())

Log an informational message to the Browserplus plugin logging facility.

Test: Info()

Parameters

location: string
The location (e.g. method name) from which the log event is emitted.
message: string
The message to be logged.

BrowserPlus.Log.Debug({params}, function{}())

Log a debug message to the Browserplus plugin logging facility.

Test: Debug()

Parameters

location: string
The location (e.g. method name) from which the log event is emitted.
message: string
The message to be logged.