import { Basic, EndpointService, Logger } from "../types"; /** * Class to manage and expose all endpoits and operations below '/rest/api/1.0/logs' */ export declare class LogsEndpoint extends EndpointService { /** * Contains all operations related with logs logger * All paths and operations from '/rest/api/1.0/logs/logger'. * @returns {LogsLoggerEndpoint} Get all operations about logs logger */ logger: () => LogsLoggerEndpoint; /** * Contains all operations related with logs root logger * All paths and operations from '/rest/api/1.0/logs/rootLogger'. * @returns {LogsRootLoggerEndpoint} Get all operations about root logger */ rootLogger: () => LogsRootLoggerEndpoint; constructor(auth: Basic); } /** * Class to manage and expose all endpoits and operations below '/rest/api/1.0/logs/logger' */ export declare class LogsLoggerEndpoint extends EndpointService { constructor(auth: Basic); /** * Retrieve the current log level for a given logger * @param {string} loggerName The name of the logger * @returns {Promise} Promise with the logger data */ get(loggerName: string): Promise; /** * Retrieve the current log level for a given logger * @param {string} loggerName The name of the logger * @param {string} loggerLevel The level to set the logger to * @returns {Promise} If not throw errors, operation finish succesfully */ changeLevel(loggerName: string, loggerLevel: 'TRACE' | 'DEBUG' | 'INFO' | 'WARN ' | 'ERROR'): Promise; } /** * Class to manage and expose all endpoits and operations below '/rest/api/1.0/logs/logger' */ export declare class LogsRootLoggerEndpoint extends EndpointService { constructor(auth: Basic); /** * Retrieve the current log level for a given logger * @returns {Promise} Promise with the logger data */ get(): Promise; /** * Retrieve the current log level for a given logger * @param {string} loggerLevel The level to set the logger to * @returns {Promise} If not throw errors, operation finish succesfully */ changeLevel(loggerLevel: 'TRACE' | 'DEBUG' | 'INFO' | 'WARN ' | 'ERROR'): Promise; }