Interface LogNotificationService
interface LogNotificationService { debug(shortInfo: string, message?: string, error?: Error): void; debug(shortInfo: string, error?: Error): void; debug(logItem: LogNotificationItem): void; error(shortInfo: string, message?: string, error?: Error): void; error(shortInfo: string, error?: Error): void; error(logItem: LogNotificationItem): void; getLog(): readonly LogNotificationEntry[]; info(shortInfo: string, message?: string, error?: Error): void; info(shortInfo: string, error?: Error): void; info(logItem: LogNotificationItem): void; warn(shortInfo: string, message?: string, error?: Error): void; warn(shortInfo: string, error?: Error): void; warn(logItem: LogNotificationItem): void;} Methods
debug
- debug(shortInfo: string, message?: string, error?: Error): void
Parameters
- shortInfo: string
Optional
message: stringOptional
error: Error
Returns void
- debug(shortInfo: string, error?: Error): void
Parameters
- shortInfo: string
Optional
error: Error
Returns void
- debug(logItem: LogNotificationItem): void
Returns void
error
- error(shortInfo: string, message?: string, error?: Error): void
Parameters
- shortInfo: string
Optional
message: stringOptional
error: Error
Returns void
- error(shortInfo: string, error?: Error): void
Parameters
- shortInfo: string
Optional
error: Error
Returns void
- error(logItem: LogNotificationItem): void
Returns void
info
- info(shortInfo: string, message?: string, error?: Error): void
Parameters
- shortInfo: string
Optional
message: stringOptional
error: Error
Returns void
- info(shortInfo: string, error?: Error): void
Parameters
- shortInfo: string
Optional
error: Error
Returns void
- info(logItem: LogNotificationItem): void
Returns void
warn
- warn(shortInfo: string, message?: string, error?: Error): void
Parameters
- shortInfo: string
Optional
message: stringOptional
error: Error
Returns void
- warn(shortInfo: string, error?: Error): void
Parameters
- shortInfo: string
Optional
error: Error
Returns void
- warn(logItem: LogNotificationItem): void
Returns void
Service registered as "ct.framework.api.LogService" used to notify user about problems.