Home > @rushstack/heft > ScopedLogger
ScopedLogger class
Signature:
export declare class ScopedLogger implements IScopedLogger
Implements: IScopedLogger
Remarks
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the ScopedLogger
class.
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
errors | readonly | ReadonlyArray<Error> | |
loggerName | readonly | string | |
terminal | readonly | ITerminal | |
terminalProvider | readonly | ITerminalProvider | |
warnings | readonly | ReadonlyArray<Error> |
Methods
Method | Modifiers | Description |
---|---|---|
emitError(error) | Call this function to emit an error to the heft runtime. | |
emitWarning(warning) | Call this function to emit an warning to the heft runtime. |