# Class: Logger
@boll/core › Globals › Logger
# Class: Logger
# Hierarchy
- Logger
# Index
# Constructors
# Properties
# Methods
# Constructors
# constructor
+ new Logger(logPrinter
: MessagePrinter, warnPrinter
: MessagePrinter, errorPrinter
: MessagePrinter): Logger
Defined in logger.ts:2
Parameters:
Name | Type |
---|---|
logPrinter | MessagePrinter |
warnPrinter | MessagePrinter |
errorPrinter | MessagePrinter |
Returns: Logger
# Properties
# Private
errorPrinter
• errorPrinter: MessagePrinter
Defined in logger.ts:6
# Private
logPrinter
• logPrinter: MessagePrinter
Defined in logger.ts:4
# Private
warnPrinter
• warnPrinter: MessagePrinter
Defined in logger.ts:5
# Methods
# error
▸ error(msg
: string): void
Defined in logger.ts:17
Parameters:
Name | Type |
---|---|
msg | string |
Returns: void
# log
▸ log(msg
: string): void
Defined in logger.ts:9
Parameters:
Name | Type |
---|---|
msg | string |
Returns: void
# warn
▸ warn(msg
: string): void
Defined in logger.ts:13
Parameters:
Name | Type |
---|---|
msg | string |
Returns: void