/*! * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ import { Log } from '.'; /** Provides the options for a log created with `createConsoleLog`. */ export interface ConsoleLogOptions { /** Name of the log. Displayed before each message or block. */ name: string; /** If `true`, each message or block is prefixed with a timestamp. */ showTimestamp: boolean; /** If `true`, each message or block is prefixed with the log level. */ showLevel: boolean; } /** Creates a new console `Log` with a given set of `options`. */ export declare function createConsoleLog(options?: Partial): Log;