Shape of each log statement.

interface Statement {
    message: string;
    tags: string[];
}

Properties

Properties

message: string

One or more sentences that we are interesting in logging.

tags: string[]

An array of tags this log statement is related to.

The tags array should contain a single word describing the severity level (e.g. 'debug', 'info'), and at least tag describing what the log statement is related to.

['debug', 'api', 'network']