Interface: Logger
Logger interface
Implemented by
Table of contents
Methods
Methods
debug
▸ debug(message, context?): void
Parameters
| Name | Type |
|---|---|
message | string |
context? | LoggerData |
Returns
void
Defined in
packages/agents/src/utils/logger.ts:33
info
▸ info(message, context?): void
Parameters
| Name | Type |
|---|---|
message | string |
context? | LoggerData |
Returns
void
Defined in
packages/agents/src/utils/logger.ts:34
warn
▸ warn(message, context?): void
Parameters
| Name | Type |
|---|---|
message | string |
context? | LoggerData |
Returns
void
Defined in
packages/agents/src/utils/logger.ts:35
error
▸ error(message, context?): void
Parameters
| Name | Type |
|---|---|
message | string |
context? | LoggerData |
Returns
void
Defined in
packages/agents/src/utils/logger.ts:36
isDebugEnabled
▸ isDebugEnabled(): boolean
Returns
boolean
Defined in
packages/agents/src/utils/logger.ts:37
setLevel
▸ setLevel(level): void
Parameters
| Name | Type |
|---|---|
level | UtilLogLevel |
Returns
void
Defined in
packages/agents/src/utils/logger.ts:38
getLevel
▸ getLevel(): UtilLogLevel