Usage
import { logger } from 'nr1'
API methods
logger.debug
function () => undefined
logger.deprecate
function (message: string Deprecation message.
) => undefined
logger.error
function (message: string, JavaScript string containing zero or more
substitution strings. To print the percentage sign, use double
encoding (%%
).
...params: Object[] JavaScript objects with which to replace
substitution strings within message
. This gives you additional
control over the format of the output.
) => undefined
logger.log
function (message: string, JavaScript string containing zero or more
substitution strings. To print the percentage sign, use double
encoding (%%
).
...params: Object[] JavaScript objects with which to replace
substitution strings within message
. This gives you additional
control over the format of the output.
) => undefined
logger.silent
function (message: string, JavaScript string containing zero or more
substitution strings. To print the percentage sign, use double
encoding (%%
).
...params: Object[] JavaScript objects with which to replace
substitution strings within message
. This gives you additional
control over the format of the output.
) => undefined
logger.warn
function (message: string, JavaScript string containing zero or more
substitution strings. To print the percentage sign, use double
encoding (%%
).
...params: Object[] JavaScript objects with which to replace
substitution strings within message
. This gives you additional
control over the format of the output.
) => undefined