Home > @rushstack/heft > ScopedLogger

ScopedLogger class


export declare class ScopedLogger implements IScopedLogger 

Implements: IScopedLogger


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.


Property Modifiers Type Description
errors   ReadonlyArray<Error>  
loggerName   string  
terminal   Terminal  
terminalProvider   ITerminalProvider  
warnings   ReadonlyArray<Error>  


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.