UNPKG

nextcloud-node-client

Version:

Nextcloud client API for node.js TypeScript applications

41 lines (40 loc) 1.24 kB
import { ILogObject as LogObject } from "tslog"; export default class Logger { private logger; constructor(); /** * Logs a silly message. * @param args - Multiple log attributes that should be logged out. */ silly(...args: unknown[]): LogObject; /** * Logs a trace message. * @param args - Multiple log attributes that should be logged out. */ trace(...args: unknown[]): LogObject; /** * Logs a debug message. * @param args - Multiple log attributes that should be logged out. */ debug(...args: unknown[]): LogObject; /** * Logs a info message. * @param args - Multiple log attributes that should be logged out. */ info(...args: unknown[]): LogObject; /** * Logs a warn message. * @param args - Multiple log attributes that should be logged out. */ warn(...args: unknown[]): LogObject; /** * Logs a error message. * @param args - Multiple log attributes that should be logged out. */ error(...args: unknown[]): LogObject; /** * Logs a fatal message. * @param args - Multiple log attributes that should be logged out. */ fatal(...args: unknown[]): LogObject; }