Class: Tracer

Tracer()

new Tracer()

Represents the tracer of an api running in your space Do not call constructor directly Bluenimble container creates it internally and makes it available for your services to use
Source:

Methods

debug(message, args)

Write a debug level message to the log file/pipe
Parameters:
Name Type Description
message Object message to be written
args vArray substitution arguments
Source:

error(message, args)

Write an error level message to the log file/pipe
Parameters:
Name Type Description
message Object message to be written
args vArray substitution arguments
Source:

fatal(message, args)

Write a fatal level message to the log file/pipe
Parameters:
Name Type Description
message Object message to be written
args vArray substitution arguments
Source:

info(message, args)

Write an info level message to the log file/pipe
Parameters:
Name Type Description
message Object message to be written
args vArray substitution arguments
Source:

log(level, message, args)

Write a log line with a specific level to the log file/pipe
Parameters:
Name Type Description
level string log level
message Object message to be written
args vArray substitution arguments
Source:

warn(message, args)

Write a warning level message to the log file/pipe
Parameters:
Name Type Description
message Object message to be written
args vArray substitution arguments
Source: