Logging

Classes for configuring and logging diagnostic messages - see Learning about Logging

Classes

Name Description  
Logger Logger allows libraries and apps to report potentially useful information about operations, and it allows apps and users to control  
PerfLogger Simple performance diagnostics utility.  
Tracing Enables OpenTelemetry tracing in addition to traditional logging. Deprecated

Enumerations

Name Description  
BentleyLoggerCategory Logger categories used by this package  
LogLevel Use to categorize logging messages by severity.  
SpanKind Mirrors the SpanKind enum from @opentelemetry/api Deprecated

Interfaces

Name Description  
LoggerCategoryAndLevel Identifies a logging category and the LogLevel that should be used for it.  
LoggerLevelsConfig Specifies logging levels, including the default logging level and a set of categories and levels for them.  

Type Aliases

Name Description  
LogFunction Defines the signature for a log function.  

Last Updated: 13 May, 2024