MCPcopy
hub / github.com/unjs/consola / LogObject

Interface LogObject

src/types.ts:148–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148export interface LogObject extends InputLogObject {
149 /**
150 * The logging level of the message, overridden if required. See {@link LogLevel}.
151 */
152 level: LogLevel;
153
154 /**
155 * The type of log message, overridden if required. See {@link LogType}.
156 */
157 type: LogType;
158
159 /**
160 * A string tag to categorise or identify the log message, overridden if necessary.
161 */
162 tag: string;
163
164 /**
165 * Additional arguments to be logged with the message, overridden if necessary.
166 */
167 args: any[];
168
169 /**
170 * The date and time the log message was created, overridden if necessary.
171 */
172 date: Date;
173
174 /**
175 * Allows additional custom properties to be set on the log object.
176 */
177 [key: string]: unknown;
178}
179
180export interface ConsolaReporter {
181 /**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…