ithit.webdav.server
Version:
With IT Hit WebDAV Server Engine for Node.js you can create your own WebDAV server, add WebDAV support to your existing Node.js project or DAV-enable your CMS/DMS/CRM.
30 lines (29 loc) • 1.26 kB
TypeScript
/**
* @copyright Copyright (c) 2017 IT Hit. All rights reserved.
*/
import { LogLevel } from "./LogLevel";
/**
* @hidden
* Provides static methods for writing to a log file.
* @remarks By default the log file is not created if you did not specify log file name.
* You can specify the folder and file name setting {@link LogFile} property.
* Amount of output and maximum file size are controlled via {@link Level} and {@link FileSize} properties.
*/
export declare class ConsoleLogger {
private static logLevel;
private static logWriter;
/**
* Gets and sets how much information is written to log file.
* @value Logging level. Default is Info
* @remarks Provides the method of limiting amount of logging output. During the
* development you will usually set @c LogLevel to {@link LogLevel.All} or {@link LogLevel.debug} level, while
* deploying you can set it to {@link LogLevel.Error} or {@link LogLevel.fatal}.
*/
static level: LogLevel;
/**
* Wrights a message to a log file with a specified log level.
* @param message Message to be logged.
* @param level Logging level.
*/
static writeMessage(message: string, level?: LogLevel): void;
}