LogEntry
Represents a single log entry from the template build process.Extended by
LogEntryStartLogEntryEnd
Constructors
Parameters
| Parameter | Type |
|---|---|
timestamp | Date |
level | LogEntryLevel |
message | string |
Returns
LogEntry
Properties
Methods
toString()
Returns
string
LogEntryEnd
Special log entry indicating the end of a build process.Constructors
Parameters
| Parameter | Type |
|---|---|
timestamp | Date |
message | string |
Returns
LogEntryEnd
Properties
Methods
toString()
Returns
string
LogEntryStart
Special log entry indicating the start of a build process.Constructors
Parameters
| Parameter | Type |
|---|---|
timestamp | Date |
message | string |
Returns
LogEntryStart
Properties
Methods
toString()
Returns
string
Type Aliases
LogEntryLevel
Functions
defaultBuildLogger()
Parameters
| Parameter | Type | Description |
|---|---|---|
options? | { minLevel: LogEntryLevel; } | Logger configuration options |
options.minLevel? | LogEntryLevel | Minimum log level to display (default: ‘info’) |
Returns
Function
Logger function that accepts LogEntry instances
Parameters
| Parameter | Type |
|---|---|
logEntry | LogEntry |
Returns
void