Skip to main content

BettererLoggerCodeInfo

API > @betterer/logger > BettererLoggerCodeInfo

The information required to log a code block with a message.

Signature

export interface BettererLoggerCodeInfo 

Properties

PropertyTypeDescription
columnnumberThe 0-indexed column number of the start of the code snippet in the line.
filePathstringThe path to the file containing code.
fileTextstringThe text content of the file.
lengthnumberThe length of the code snippet.
linenumberThe 0-indexed line number of the start of the code snippet in the file.
messagestringA message to attach to the code snippet.