BettererLoggerCodeInfo
API > @betterer/logger > BettererLoggerCodeInfo
The information required to log a code block with a message.
Signature
export interface BettererLoggerCodeInfo
Properties
Property | Type | Description |
---|---|---|
column | number | The 0 -indexed column number of the start of the code snippet in the line. |
filePath | string | The path to the file containing code. |
fileText | string | The text content of the file. |
length | number | The length of the code snippet. |
line | number | The 0 -indexed line number of the start of the code snippet in the file. |
message | string | A message to attach to the code snippet. |