@icecreamcake/autojs6-dts
Version:
TypeScript Declarations for AutoJs6
948 lines (920 loc) • 261 kB
TypeScript
declare module org {
export module apache {
export module log4j {
export class Appender extends java.lang.Object {
public static class: java.lang.Class<org.apache.log4j.Appender>;
/**
* Constructs a new instance of the org.apache.log4j.Appender interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
*/
public constructor(implementation: {
addFilter(param0: org.apache.log4j.spi.Filter): void;
getFilter(): org.apache.log4j.spi.Filter;
clearFilters(): void;
close(): void;
doAppend(param0: org.apache.log4j.spi.LoggingEvent): void;
getName(): string;
setErrorHandler(param0: org.apache.log4j.spi.ErrorHandler): void;
getErrorHandler(): org.apache.log4j.spi.ErrorHandler;
setLayout(param0: org.apache.log4j.Layout): void;
getLayout(): org.apache.log4j.Layout;
setName(param0: string): void;
requiresLayout(): boolean;
});
public constructor();
public setName(param0: string): void;
public close(): void;
public getErrorHandler(): org.apache.log4j.spi.ErrorHandler;
public requiresLayout(): boolean;
public getFilter(): org.apache.log4j.spi.Filter;
public addFilter(param0: org.apache.log4j.spi.Filter): void;
public doAppend(param0: org.apache.log4j.spi.LoggingEvent): void;
public getName(): string;
public setLayout(param0: org.apache.log4j.Layout): void;
public getLayout(): org.apache.log4j.Layout;
public setErrorHandler(param0: org.apache.log4j.spi.ErrorHandler): void;
public clearFilters(): void;
}
}
}
}
declare module org {
export module apache {
export module log4j {
export abstract class AppenderSkeleton extends java.lang.Object implements org.apache.log4j.Appender, org.apache.log4j.spi.OptionHandler {
public static class: java.lang.Class<org.apache.log4j.AppenderSkeleton>;
public layout: org.apache.log4j.Layout;
public name: string;
public threshold: org.apache.log4j.Priority;
public errorHandler: org.apache.log4j.spi.ErrorHandler;
public headFilter: org.apache.log4j.spi.Filter;
public tailFilter: org.apache.log4j.spi.Filter;
public closed: boolean;
public doAppend(event: org.apache.log4j.spi.LoggingEvent): void;
public finalize(): void;
public setName(name: string): void;
public doAppend(param0: org.apache.log4j.spi.LoggingEvent): void;
public constructor();
public constructor(isActive: boolean);
public getFirstFilter(): org.apache.log4j.spi.Filter;
public append(param0: org.apache.log4j.spi.LoggingEvent): void;
public getThreshold(): org.apache.log4j.Priority;
public addFilter(newFilter: org.apache.log4j.spi.Filter): void;
public setThreshold(threshold: org.apache.log4j.Priority): void;
public clearFilters(): void;
public setName(param0: string): void;
public getErrorHandler(): org.apache.log4j.spi.ErrorHandler;
public close(): void;
public requiresLayout(): boolean;
public getFilter(): org.apache.log4j.spi.Filter;
public isAsSevereAsThreshold(priority: org.apache.log4j.Priority): boolean;
public getName(): string;
public setLayout(param0: org.apache.log4j.Layout): void;
public getLayout(): org.apache.log4j.Layout;
public setErrorHandler(param0: org.apache.log4j.spi.ErrorHandler): void;
public activateOptions(): void;
public setLayout(layout: org.apache.log4j.Layout): void;
public setErrorHandler(eh: org.apache.log4j.spi.ErrorHandler): void;
public addFilter(param0: org.apache.log4j.spi.Filter): void;
}
}
}
}
declare module org {
export module apache {
export module log4j {
export class AsyncAppender extends org.apache.log4j.AppenderSkeleton implements org.apache.log4j.spi.AppenderAttachable {
public static class: java.lang.Class<org.apache.log4j.AsyncAppender>;
public static DEFAULT_BUFFER_SIZE: number;
public removeAllAppenders(): void;
public setBlocking(value: boolean): void;
public doAppend(event: org.apache.log4j.spi.LoggingEvent): void;
public getAllAppenders(): java.util.Enumeration<any>;
public setName(name: string): void;
public doAppend(param0: org.apache.log4j.spi.LoggingEvent): void;
public getLocationInfo(): boolean;
public constructor();
public constructor(isActive: boolean);
public append(param0: org.apache.log4j.spi.LoggingEvent): void;
public addFilter(newFilter: org.apache.log4j.spi.Filter): void;
public clearFilters(): void;
public removeAppender(param0: org.apache.log4j.Appender): void;
public removeAppender(param0: string): void;
public setName(param0: string): void;
public close(): void;
public requiresLayout(): boolean;
public setBufferSize(size: number): void;
public getErrorHandler(): org.apache.log4j.spi.ErrorHandler;
public append(event: org.apache.log4j.spi.LoggingEvent): void;
public isAttached(param0: org.apache.log4j.Appender): boolean;
public getFilter(): org.apache.log4j.spi.Filter;
public removeAppender(appender: org.apache.log4j.Appender): void;
public getName(): string;
public setLayout(param0: org.apache.log4j.Layout): void;
public getLayout(): org.apache.log4j.Layout;
public isAttached(appender: org.apache.log4j.Appender): boolean;
public setErrorHandler(param0: org.apache.log4j.spi.ErrorHandler): void;
public activateOptions(): void;
public setLocationInfo(flag: boolean): void;
public removeAppender(name: string): void;
public setLayout(layout: org.apache.log4j.Layout): void;
public setErrorHandler(eh: org.apache.log4j.spi.ErrorHandler): void;
public addAppender(newAppender: org.apache.log4j.Appender): void;
public getAppender(name: string): org.apache.log4j.Appender;
public addFilter(param0: org.apache.log4j.spi.Filter): void;
public getAppender(param0: string): org.apache.log4j.Appender;
public getBufferSize(): number;
public addAppender(param0: org.apache.log4j.Appender): void;
public getBlocking(): boolean;
}
export module AsyncAppender {
export class DiscardSummary extends java.lang.Object {
public static class: java.lang.Class<org.apache.log4j.AsyncAppender.DiscardSummary>;
public createEvent(): org.apache.log4j.spi.LoggingEvent;
public constructor(event: org.apache.log4j.spi.LoggingEvent);
public add(event: org.apache.log4j.spi.LoggingEvent): void;
}
export class Dispatcher extends java.lang.Object implements java.lang.Runnable {
public static class: java.lang.Class<org.apache.log4j.AsyncAppender.Dispatcher>;
public run(): void;
public constructor(parent: org.apache.log4j.AsyncAppender, buffer: java.util.List<any>, discardMap: java.util.Map<any,any>, appenders: org.apache.log4j.helpers.AppenderAttachableImpl);
}
}
}
}
}
declare module org {
export module apache {
export module log4j {
export class BasicConfigurator extends java.lang.Object {
public static class: java.lang.Class<org.apache.log4j.BasicConfigurator>;
public static configure(): void;
public static configure(appender: org.apache.log4j.Appender): void;
public static resetConfiguration(): void;
public constructor();
}
}
}
}
declare module org {
export module apache {
export module log4j {
export class Category extends java.lang.Object implements org.apache.log4j.spi.AppenderAttachable {
public static class: java.lang.Class<org.apache.log4j.Category>;
public name: string;
public level: org.apache.log4j.Level;
public parent: org.apache.log4j.Category;
public resourceBundle: java.util.ResourceBundle;
public repository: org.apache.log4j.spi.LoggerRepository;
public additive: boolean;
/** @deprecated */
public getPriority(): org.apache.log4j.Level;
public info(message: any, t: java.lang.Throwable): void;
public debug(message: any): void;
public fatal(message: any, t: java.lang.Throwable): void;
public getAdditivity(): boolean;
public getResourceBundleString(key: string): string;
/** @deprecated */
public static getInstance(name: string): org.apache.log4j.Category;
public warn(message: any): void;
/** @deprecated */
public static getRoot(): org.apache.log4j.Category;
/** @deprecated */
public static getDefaultHierarchy(): org.apache.log4j.spi.LoggerRepository;
public log(priority: org.apache.log4j.Priority, message: any): void;
public removeAppender(param0: org.apache.log4j.Appender): void;
public getLevel(): org.apache.log4j.Level;
public callAppenders(event: org.apache.log4j.spi.LoggingEvent): void;
/** @deprecated */
public getChainedPriority(): org.apache.log4j.Priority;
public setResourceBundle(bundle: java.util.ResourceBundle): void;
public getName(): string;
public l7dlog(priority: org.apache.log4j.Priority, key: string, params: any[], t: java.lang.Throwable): void;
public error(message: any): void;
public removeAppender(name: string): void;
public getAppender(name: string): org.apache.log4j.Appender;
public isDebugEnabled(): boolean;
public setLevel(level: org.apache.log4j.Level): void;
public getAppender(param0: string): org.apache.log4j.Appender;
public getLoggerRepository(): org.apache.log4j.spi.LoggerRepository;
public isEnabledFor(level: org.apache.log4j.Priority): boolean;
public constructor(name: string);
public removeAllAppenders(): void;
public getAllAppenders(): java.util.Enumeration<any>;
public debug(message: any, t: java.lang.Throwable): void;
public log(callerFQCN: string, level: org.apache.log4j.Priority, message: any, t: java.lang.Throwable): void;
/** @deprecated */
public setPriority(priority: org.apache.log4j.Priority): void;
public assertLog(assertion: boolean, msg: string): void;
/** @deprecated */
public static getCurrentCategories(): java.util.Enumeration<any>;
public setAdditivity(additive: boolean): void;
/** @deprecated */
public static getInstance(clazz: java.lang.Class<any>): org.apache.log4j.Category;
/** @deprecated */
public static shutdown(): void;
/** @deprecated */
public static exists(name: string): org.apache.log4j.Logger;
public getParent(): org.apache.log4j.Category;
public getEffectiveLevel(): org.apache.log4j.Level;
public fatal(message: any): void;
public removeAppender(param0: string): void;
public error(message: any, t: java.lang.Throwable): void;
public info(message: any): void;
public isInfoEnabled(): boolean;
public isAttached(param0: org.apache.log4j.Appender): boolean;
/** @deprecated */
public getHierarchy(): org.apache.log4j.spi.LoggerRepository;
public removeAppender(appender: org.apache.log4j.Appender): void;
public warn(message: any, t: java.lang.Throwable): void;
public isAttached(appender: org.apache.log4j.Appender): boolean;
public forcedLog(fqcn: string, level: org.apache.log4j.Priority, message: any, t: java.lang.Throwable): void;
public getResourceBundle(): java.util.ResourceBundle;
public addAppender(newAppender: org.apache.log4j.Appender): void;
public log(priority: org.apache.log4j.Priority, message: any, t: java.lang.Throwable): void;
public addAppender(param0: org.apache.log4j.Appender): void;
public l7dlog(priority: org.apache.log4j.Priority, key: string, t: java.lang.Throwable): void;
}
}
}
}
declare module org {
export module apache {
export module log4j {
export class CategoryKey extends java.lang.Object {
public static class: java.lang.Class<org.apache.log4j.CategoryKey>;
public equals(obj: any): boolean;
public equals(rArg: any): boolean;
public hashCode(): number;
}
}
}
}
declare module org {
export module apache {
export module log4j {
export class ConsoleAppender extends org.apache.log4j.WriterAppender {
public static class: java.lang.Class<org.apache.log4j.ConsoleAppender>;
public static SYSTEM_OUT: string;
public static SYSTEM_ERR: string;
public target: string;
public setFollow(newValue: boolean): void;
public doAppend(event: org.apache.log4j.spi.LoggingEvent): void;
public setName(name: string): void;
public doAppend(param0: org.apache.log4j.spi.LoggingEvent): void;
public constructor();
public constructor(layout: org.apache.log4j.Layout, os: java.io.OutputStream);
public constructor(isActive: boolean);
public setTarget(value: string): void;
public addFilter(newFilter: org.apache.log4j.spi.Filter): void;
public clearFilters(): void;
public closeWriter(): void;
public setName(param0: string): void;
public close(): void;
public getErrorHandler(): org.apache.log4j.spi.ErrorHandler;
public requiresLayout(): boolean;
public getTarget(): string;
public getFilter(): org.apache.log4j.spi.Filter;
public constructor(layout: org.apache.log4j.Layout);
public getName(): string;
public setLayout(param0: org.apache.log4j.Layout): void;
public getLayout(): org.apache.log4j.Layout;
public setErrorHandler(param0: org.apache.log4j.spi.ErrorHandler): void;
public activateOptions(): void;
public setLayout(layout: org.apache.log4j.Layout): void;
public constructor(layout: org.apache.log4j.Layout, writer: java.io.Writer);
public setErrorHandler(eh: org.apache.log4j.spi.ErrorHandler): void;
public addFilter(param0: org.apache.log4j.spi.Filter): void;
public constructor(layout: org.apache.log4j.Layout, target: string);
public getFollow(): boolean;
}
export module ConsoleAppender {
export class SystemErrStream extends java.io.OutputStream {
public static class: java.lang.Class<org.apache.log4j.ConsoleAppender.SystemErrStream>;
public constructor();
public write(b: number): void;
public write(b: number[]): void;
public close(): void;
public write(b: number[], off: number, len: number): void;
public flush(): void;
public write(param0: number): void;
}
export class SystemOutStream extends java.io.OutputStream {
public static class: java.lang.Class<org.apache.log4j.ConsoleAppender.SystemOutStream>;
public constructor();
public write(b: number): void;
public write(b: number[]): void;
public close(): void;
public write(b: number[], off: number, len: number): void;
public flush(): void;
public write(param0: number): void;
}
}
}
}
}
declare module org {
export module apache {
export module log4j {
export class DailyRollingFileAppender extends org.apache.log4j.FileAppender {
public static class: java.lang.Class<org.apache.log4j.DailyRollingFileAppender>;
public doAppend(event: org.apache.log4j.spi.LoggingEvent): void;
public setName(name: string): void;
public doAppend(param0: org.apache.log4j.spi.LoggingEvent): void;
public getDatePattern(): string;
public constructor(layout: org.apache.log4j.Layout, filename: string);
public setDatePattern(pattern: string): void;
public subAppend(event: org.apache.log4j.spi.LoggingEvent): void;
public constructor();
public constructor(layout: org.apache.log4j.Layout, os: java.io.OutputStream);
public constructor(isActive: boolean);
public addFilter(newFilter: org.apache.log4j.spi.Filter): void;
public constructor(layout: org.apache.log4j.Layout, filename: string, datePattern: string);
public clearFilters(): void;
public setName(param0: string): void;
public close(): void;
public getErrorHandler(): org.apache.log4j.spi.ErrorHandler;
public requiresLayout(): boolean;
public constructor(layout: org.apache.log4j.Layout, filename: string, append: boolean);
public getFilter(): org.apache.log4j.spi.Filter;
public getName(): string;
public setLayout(param0: org.apache.log4j.Layout): void;
public getLayout(): org.apache.log4j.Layout;
public constructor(layout: org.apache.log4j.Layout, filename: string, append: boolean, bufferedIO: boolean, bufferSize: number);
public setErrorHandler(param0: org.apache.log4j.spi.ErrorHandler): void;
public activateOptions(): void;
public setLayout(layout: org.apache.log4j.Layout): void;
public constructor(layout: org.apache.log4j.Layout, writer: java.io.Writer);
public setErrorHandler(eh: org.apache.log4j.spi.ErrorHandler): void;
public addFilter(param0: org.apache.log4j.spi.Filter): void;
}
}
}
}
declare module org {
export module apache {
export module log4j {
export class DefaultCategoryFactory extends java.lang.Object implements org.apache.log4j.spi.LoggerFactory {
public static class: java.lang.Class<org.apache.log4j.DefaultCategoryFactory>;
public makeNewLoggerInstance(name: string): org.apache.log4j.Logger;
public makeNewLoggerInstance(param0: string): org.apache.log4j.Logger;
}
}
}
}
declare module org {
export module apache {
export module log4j {
export class DefaultThrowableRenderer extends java.lang.Object implements org.apache.log4j.spi.ThrowableRenderer {
public static class: java.lang.Class<org.apache.log4j.DefaultThrowableRenderer>;
public static render(throwable: java.lang.Throwable): string[];
public doRender(throwable: java.lang.Throwable): string[];
public doRender(param0: java.lang.Throwable): string[];
public constructor();
}
}
}
}
declare module org {
export module apache {
export module log4j {
export class Dispatcher extends java.lang.Thread {
public static class: java.lang.Class<org.apache.log4j.Dispatcher>;
public run(): void;
}
}
}
}
declare module org {
export module apache {
export module log4j {
export class EnhancedPatternLayout extends org.apache.log4j.Layout {
public static class: java.lang.Class<org.apache.log4j.EnhancedPatternLayout>;
public static DEFAULT_CONVERSION_PATTERN: string;
public static TTCC_CONVERSION_PATTERN: string;
public BUF_SIZE: number;
public MAX_CAPACITY: number;
public static PATTERN_RULE_REGISTRY: string;
public format(param0: org.apache.log4j.spi.LoggingEvent): string;
public format(event: org.apache.log4j.spi.LoggingEvent): string;
public setConversionPattern(conversionPattern: string): void;
public ignoresThrowable(): boolean;
public createPatternParser(pattern: string): org.apache.log4j.helpers.PatternParser;
public getConversionPattern(): string;
public constructor(pattern: string);
public activateOptions(): void;
public constructor();
}
}
}
}
declare module org {
export module apache {
export module log4j {
export class EnhancedThrowableRenderer extends java.lang.Object implements org.apache.log4j.spi.ThrowableRenderer {
public static class: java.lang.Class<org.apache.log4j.EnhancedThrowableRenderer>;
public doRender(throwable: java.lang.Throwable): string[];
public doRender(param0: java.lang.Throwable): string[];
public constructor();
}
}
}
}
declare module org {
export module apache {
export module log4j {
export class FileAppender extends org.apache.log4j.WriterAppender {
public static class: java.lang.Class<org.apache.log4j.FileAppender>;
public fileAppend: boolean;
public fileName: string;
public bufferedIO: boolean;
public bufferSize: number;
public doAppend(event: org.apache.log4j.spi.LoggingEvent): void;
public getAppend(): boolean;
public setName(name: string): void;
public doAppend(param0: org.apache.log4j.spi.LoggingEvent): void;
public getFile(): string;
public constructor(layout: org.apache.log4j.Layout, filename: string);
public constructor();
public setFile(fileName: string, append: boolean, bufferedIO: boolean, bufferSize: number): void;
public constructor(layout: org.apache.log4j.Layout, os: java.io.OutputStream);
public constructor(isActive: boolean);
public reset(): void;
public setAppend(flag: boolean): void;
public addFilter(newFilter: org.apache.log4j.spi.Filter): void;
public getBufferedIO(): boolean;
public clearFilters(): void;
public setName(param0: string): void;
public close(): void;
public getErrorHandler(): org.apache.log4j.spi.ErrorHandler;
public requiresLayout(): boolean;
public constructor(layout: org.apache.log4j.Layout, filename: string, append: boolean);
public setFile(file: string): void;
public closeFile(): void;
public getFilter(): org.apache.log4j.spi.Filter;
public getName(): string;
public setLayout(param0: org.apache.log4j.Layout): void;
public getLayout(): org.apache.log4j.Layout;
public constructor(layout: org.apache.log4j.Layout, filename: string, append: boolean, bufferedIO: boolean, bufferSize: number);
public setErrorHandler(param0: org.apache.log4j.spi.ErrorHandler): void;
public activateOptions(): void;
public setBufferedIO(bufferedIO: boolean): void;
public setLayout(layout: org.apache.log4j.Layout): void;
public constructor(layout: org.apache.log4j.Layout, writer: java.io.Writer);
public setBufferSize(bufferSize: number): void;
public setErrorHandler(eh: org.apache.log4j.spi.ErrorHandler): void;
public addFilter(param0: org.apache.log4j.spi.Filter): void;
public setQWForFiles(writer: java.io.Writer): void;
public getBufferSize(): number;
}
}
}
}
declare module org {
export module apache {
export module log4j {
export class HTMLLayout extends org.apache.log4j.Layout {
public static class: java.lang.Class<org.apache.log4j.HTMLLayout>;
public BUF_SIZE: number;
public MAX_CAPACITY: number;
public static LOCATION_INFO_OPTION: string;
public static TITLE_OPTION: string;
public getContentType(): string;
public format(param0: org.apache.log4j.spi.LoggingEvent): string;
public format(event: org.apache.log4j.spi.LoggingEvent): string;
public getLocationInfo(): boolean;
public ignoresThrowable(): boolean;
public setTitle(title: string): void;
public getFooter(): string;
public getHeader(): string;
public getTitle(): string;
public activateOptions(): void;
public constructor();
public setLocationInfo(flag: boolean): void;
}
}
}
}
declare module org {
export module apache {
export module log4j {
export class Hierarchy extends java.lang.Object implements org.apache.log4j.spi.LoggerRepository, org.apache.log4j.spi.RendererSupport, org.apache.log4j.spi.ThrowableRendererSupport {
public static class: java.lang.Class<org.apache.log4j.Hierarchy>;
public getRootLogger(): org.apache.log4j.Logger;
public addRenderer(classToRender: java.lang.Class<any>, or: org.apache.log4j.or.ObjectRenderer): void;
public getLogger(param0: string): org.apache.log4j.Logger;
/** @deprecated */
public getCurrentCategories(): java.util.Enumeration<any>;
public fireAddAppenderEvent(logger: org.apache.log4j.Category, appender: org.apache.log4j.Appender): void;
public emitNoAppenderWarning(cat: org.apache.log4j.Category): void;
public isDisabled(level: number): boolean;
public setThreshold(param0: string): void;
public exists(name: string): org.apache.log4j.Logger;
public setThrowableRenderer(param0: org.apache.log4j.spi.ThrowableRenderer): void;
public shutdown(): void;
public getThreshold(): org.apache.log4j.Level;
public clear(): void;
public addHierarchyEventListener(param0: org.apache.log4j.spi.HierarchyEventListener): void;
public setThreshold(l: org.apache.log4j.Level): void;
public getLogger(name: string, factory: org.apache.log4j.spi.LoggerFactory): org.apache.log4j.Logger;
public getRendererMap(): org.apache.log4j.or.RendererMap;
public fireAddAppenderEvent(param0: org.apache.log4j.Category, param1: org.apache.log4j.Appender): void;
/** @deprecated */
public overrideAsNeeded(override: string): void;
public exists(param0: string): org.apache.log4j.Logger;
public getLogger(name: string): org.apache.log4j.Logger;
public setRenderer(renderedClass: java.lang.Class<any>, renderer: org.apache.log4j.or.ObjectRenderer): void;
public setThreshold(param0: org.apache.log4j.Level): void;
public setThrowableRenderer(renderer: org.apache.log4j.spi.ThrowableRenderer): void;
public addHierarchyEventListener(listener: org.apache.log4j.spi.HierarchyEventListener): void;
public emitNoAppenderWarning(param0: org.apache.log4j.Category): void;
public getThrowableRenderer(): org.apache.log4j.spi.ThrowableRenderer;
public resetConfiguration(): void;
public getLogger(param0: string, param1: org.apache.log4j.spi.LoggerFactory): org.apache.log4j.Logger;
/** @deprecated */
public setDisableOverride(override: string): void;
public isDisabled(param0: number): boolean;
public getCurrentCategories(): java.util.Enumeration<any>;
public getCurrentLoggers(): java.util.Enumeration<any>;
public setThreshold(levelStr: string): void;
public setRenderer(param0: java.lang.Class<any>, param1: org.apache.log4j.or.ObjectRenderer): void;
public constructor(root: org.apache.log4j.Logger);
}
}
}
}
declare module org {
export module apache {
export module log4j {
export abstract class Layout extends java.lang.Object implements org.apache.log4j.spi.OptionHandler {
public static class: java.lang.Class<org.apache.log4j.Layout>;
public static LINE_SEP: string;
public static LINE_SEP_LEN: number;
public getContentType(): string;
public format(param0: org.apache.log4j.spi.LoggingEvent): string;
public ignoresThrowable(): boolean;
public getFooter(): string;
public getHeader(): string;
public activateOptions(): void;
public constructor();
}
}
}
}
declare module org {
export module apache {
export module log4j {
export class Level extends org.apache.log4j.Priority implements java.io.Serializable {
public static class: java.lang.Class<org.apache.log4j.Level>;
public static TRACE_INT: number;
public static OFF: org.apache.log4j.Level;
public static FATAL: org.apache.log4j.Level;
public static ERROR: org.apache.log4j.Level;
public static WARN: org.apache.log4j.Level;
public static INFO: org.apache.log4j.Level;
public static DEBUG: org.apache.log4j.Level;
public static TRACE: org.apache.log4j.Level;
public static ALL: org.apache.log4j.Level;
public static toLevel(val: number, defaultLevel: org.apache.log4j.Level): org.apache.log4j.Level;
public static toLevel(sArg: string): org.apache.log4j.Level;
public constructor(level: number, levelStr: string, syslogEquivalent: number);
public static toLevel(sArg: string, defaultLevel: org.apache.log4j.Level): org.apache.log4j.Level;
public static toLevel(val: number): org.apache.log4j.Level;
public constructor();
}
}
}
}
declare module org {
export module apache {
export module log4j {
export class LogMF extends org.apache.log4j.LogXF {
public static class: java.lang.Class<org.apache.log4j.LogMF>;
public static trace(logger: org.apache.log4j.Logger, pattern: string, argument: any): void;
public static warn(logger: org.apache.log4j.Logger, pattern: string, argument: string): void;
public static warn(logger: org.apache.log4j.Logger, pattern: string, argument: any): void;
public static log(logger: org.apache.log4j.Logger, level: org.apache.log4j.Level, pattern: string, arg0: any, arg1: any, arg2: any): void;
public static trace(logger: org.apache.log4j.Logger, pattern: string, arguments: any[]): void;
public static info(logger: org.apache.log4j.Logger, t: java.lang.Throwable, pattern: string, arguments: any[]): void;
public static logrb(logger: org.apache.log4j.Logger, level: org.apache.log4j.Level, bundleName: string, key: string, param1: string): void;
public static info(logger: org.apache.log4j.Logger, pattern: string, arguments: any[]): void;
public static logrb(logger: org.apache.log4j.Logger, level: org.apache.log4j.Level, bundleName: string, key: string, param1: number): void;
public static debug(logger: org.apache.log4j.Logger, pattern: string, arg0: any, arg1: any, arg2: any): void;
public static info(logger: org.apache.log4j.Logger, pattern: string, arg0: any, arg1: any, arg2: any, arg3: any): void;
public static warn(logger: org.apache.log4j.Logger, pattern: string, arg0: any, arg1: any, arg2: any, arg3: any): void;
public static debug(logger: org.apache.log4j.Logger, pattern: string, argument: number): void;
public static warn(logger: org.apache.log4j.Logger, pattern: string, arguments: any[]): void;
public static debug(logger: org.apache.log4j.Logger, pattern: string, arg0: any, arg1: any): void;
public static logrb(logger: org.apache.log4j.Logger, level: org.apache.log4j.Level, bundleName: string, key: string, param0: any, param1: any, param2: any, param3: any): void;
public static debug(logger: org.apache.log4j.Logger, pattern: string, argument: any): void;
public static trace(logger: org.apache.log4j.Logger, pattern: string, argument: number): void;
public static log(logger: org.apache.log4j.Logger, level: org.apache.log4j.Level, pattern: string, parameters: any[]): void;
public static trace(logger: org.apache.log4j.Logger, t: java.lang.Throwable, pattern: string, arguments: any[]): void;
public static trace(logger: org.apache.log4j.Logger, pattern: string, argument: boolean): void;
public static trace(logger: org.apache.log4j.Logger, pattern: string, arg0: any, arg1: any): void;
public static trace(logger: org.apache.log4j.Logger, pattern: string, arg0: any, arg1: any, arg2: any, arg3: any): void;
public static info(logger: org.apache.log4j.Logger, pattern: string, arg0: any, arg1: any, arg2: any): void;
public static log(logger: org.apache.log4j.Logger, level: org.apache.log4j.Level, pattern: string, arg0: any, arg1: any): void;
public static warn(logger: org.apache.log4j.Logger, t: java.lang.Throwable, pattern: string, arguments: any[]): void;
public static debug(logger: org.apache.log4j.Logger, pattern: string, argument: string): void;
public static debug(logger: org.apache.log4j.Logger, pattern: string, argument: boolean): void;
public static logrb(logger: org.apache.log4j.Logger, level: org.apache.log4j.Level, bundleName: string, key: string, parameters: any[]): void;
public static error(logger: org.apache.log4j.Logger, pattern: string, arguments: any[]): void;
public static log(logger: org.apache.log4j.Logger, level: org.apache.log4j.Level, t: java.lang.Throwable, pattern: string, parameters: any[]): void;
public static info(logger: org.apache.log4j.Logger, pattern: string, argument: any): void;
public static log(logger: org.apache.log4j.Logger, level: org.apache.log4j.Level, pattern: string, param1: boolean): void;
public static warn(logger: org.apache.log4j.Logger, pattern: string, arg0: any, arg1: any): void;
public static log(logger: org.apache.log4j.Logger, level: org.apache.log4j.Level, pattern: string, arg0: any, arg1: any, arg2: any, arg3: any): void;
public static logrb(logger: org.apache.log4j.Logger, level: org.apache.log4j.Level, t: java.lang.Throwable, bundleName: string, key: string, parameters: any[]): void;
public static debug(logger: org.apache.log4j.Logger, pattern: string, arguments: any[]): void;
public static trace(logger: org.apache.log4j.Logger, pattern: string, argument: string): void;
public static log(logger: org.apache.log4j.Logger, level: org.apache.log4j.Level, pattern: string, param1: any): void;
public static logrb(logger: org.apache.log4j.Logger, level: org.apache.log4j.Level, bundleName: string, key: string, param1: boolean): void;
public static warn(logger: org.apache.log4j.Logger, pattern: string, argument: boolean): void;
public static info(logger: org.apache.log4j.Logger, pattern: string, argument: string): void;
public static log(logger: org.apache.log4j.Logger, level: org.apache.log4j.Level, pattern: string, param1: string): void;
public static fatal(logger: org.apache.log4j.Logger, t: java.lang.Throwable, pattern: string, arguments: any[]): void;
public static debug(logger: org.apache.log4j.Logger, pattern: string, arg0: any, arg1: any, arg2: any, arg3: any): void;
public static info(logger: org.apache.log4j.Logger, pattern: string, argument: boolean): void;
public static warn(logger: org.apache.log4j.Logger, pattern: string, argument: number): void;
public static logrb(logger: org.apache.log4j.Logger, level: org.apache.log4j.Level, bundleName: string, key: string, param1: any): void;
public static warn(logger: org.apache.log4j.Logger, pattern: string, arg0: any, arg1: any, arg2: any): void;
public static fatal(logger: org.apache.log4j.Logger, pattern: string, arguments: any[]): void;
public static error(logger: org.apache.log4j.Logger, t: java.lang.Throwable, pattern: string, arguments: any[]): void;
public static debug(logger: org.apache.log4j.Logger, t: java.lang.Throwable, pattern: string, arguments: any[]): void;
public static info(logger: org.apache.log4j.Logger, pattern: string, arg0: any, arg1: any): void;
public static info(logger: org.apache.log4j.Logger, pattern: string, argument: number): void;
public static logrb(logger: org.apache.log4j.Logger, level: org.apache.log4j.Level, bundleName: string, key: string, param0: any, param1: any, param2: any): void;
public static trace(logger: org.apache.log4j.Logger, pattern: string, arg0: any, arg1: any, arg2: any): void;
public static log(logger: org.apache.log4j.Logger, level: org.apache.log4j.Level, pattern: string, param1: number): void;
public static logrb(logger: org.apache.log4j.Logger, level: org.apache.log4j.Level, bundleName: string, key: string, param0: any, param1: any): void;
}
}
}
}
declare module org {
export module apache {
export module log4j {
export class LogManager extends java.lang.Object {
public static class: java.lang.Class<org.apache.log4j.LogManager>;
public static DEFAULT_CONFIGURATION_FILE: string;
public static DEFAULT_CONFIGURATION_KEY: string;
public static CONFIGURATOR_CLASS_KEY: string;
public static DEFAULT_INIT_OVERRIDE_KEY: string;
public static getLogger(name: string): org.apache.log4j.Logger;
public static getLogger(name: string, factory: org.apache.log4j.spi.LoggerFactory): org.apache.log4j.Logger;
public static getRootLogger(): org.apache.log4j.Logger;
public static getLogger(clazz: java.lang.Class<any>): org.apache.log4j.Logger;
public static exists(name: string): org.apache.log4j.Logger;
public static shutdown(): void;
public static getCurrentLoggers(): java.util.Enumeration<any>;
public static setRepositorySelector(selector: org.apache.log4j.spi.RepositorySelector, guard: any): void;
public static resetConfiguration(): void;
public constructor();
public static getLoggerRepository(): org.apache.log4j.spi.LoggerRepository;
}
}
}
}
declare module org {
export module apache {
export module log4j {
export class LogSF extends org.apache.log4j.LogXF {
public static class: java.lang.Class<org.apache.log4j.LogSF>;
public static trace(logger: org.apache.log4j.Logger, pattern: string, argument: any): void;
public static warn(logger: org.apache.log4j.Logger, pattern: string, argument: string): void;
public static warn(logger: org.apache.log4j.Logger, pattern: string, argument: any): void;
public static log(logger: org.apache.log4j.Logger, level: org.apache.log4j.Level, pattern: string, arg0: any, arg1: any, arg2: any): void;
public static trace(logger: org.apache.log4j.Logger, pattern: string, arguments: any[]): void;
public static info(logger: org.apache.log4j.Logger, t: java.lang.Throwable, pattern: string, arguments: any[]): void;
public static logrb(logger: org.apache.log4j.Logger, level: org.apache.log4j.Level, bundleName: string, key: string, param1: string): void;
public static info(logger: org.apache.log4j.Logger, pattern: string, arguments: any[]): void;
public static logrb(logger: org.apache.log4j.Logger, level: org.apache.log4j.Level, bundleName: string, key: string, param1: number): void;
public static debug(logger: org.apache.log4j.Logger, pattern: string, arg0: any, arg1: any, arg2: any): void;
public static info(logger: org.apache.log4j.Logger, pattern: string, arg0: any, arg1: any, arg2: any, arg3: any): void;
public static warn(logger: org.apache.log4j.Logger, pattern: string, arg0: any, arg1: any, arg2: any, arg3: any): void;
public static debug(logger: org.apache.log4j.Logger, pattern: string, argument: number): void;
public static warn(logger: org.apache.log4j.Logger, pattern: string, arguments: any[]): void;
public static debug(logger: org.apache.log4j.Logger, pattern: string, arg0: any, arg1: any): void;
public static logrb(logger: org.apache.log4j.Logger, level: org.apache.log4j.Level, bundleName: string, key: string, param0: any, param1: any, param2: any, param3: any): void;
public static debug(logger: org.apache.log4j.Logger, pattern: string, argument: any): void;
public static trace(logger: org.apache.log4j.Logger, pattern: string, argument: number): void;
public static log(logger: org.apache.log4j.Logger, level: org.apache.log4j.Level, pattern: string, parameters: any[]): void;
public static trace(logger: org.apache.log4j.Logger, t: java.lang.Throwable, pattern: string, arguments: any[]): void;
public static trace(logger: org.apache.log4j.Logger, pattern: string, argument: boolean): void;
public static trace(logger: org.apache.log4j.Logger, pattern: string, arg0: any, arg1: any): void;
public static trace(logger: org.apache.log4j.Logger, pattern: string, arg0: any, arg1: any, arg2: any, arg3: any): void;
public static info(logger: org.apache.log4j.Logger, pattern: string, arg0: any, arg1: any, arg2: any): void;
public static log(logger: org.apache.log4j.Logger, level: org.apache.log4j.Level, pattern: string, arg0: any, arg1: any): void;
public static warn(logger: org.apache.log4j.Logger, t: java.lang.Throwable, pattern: string, arguments: any[]): void;
public static debug(logger: org.apache.log4j.Logger, pattern: string, argument: string): void;
public static debug(logger: org.apache.log4j.Logger, pattern: string, argument: boolean): void;
public static logrb(logger: org.apache.log4j.Logger, level: org.apache.log4j.Level, bundleName: string, key: string, parameters: any[]): void;
public static error(logger: org.apache.log4j.Logger, pattern: string, arguments: any[]): void;
public static log(logger: org.apache.log4j.Logger, level: org.apache.log4j.Level, t: java.lang.Throwable, pattern: string, parameters: any[]): void;
public static info(logger: org.apache.log4j.Logger, pattern: string, argument: any): void;
public static log(logger: org.apache.log4j.Logger, level: org.apache.log4j.Level, pattern: string, param1: boolean): void;
public static warn(logger: org.apache.log4j.Logger, pattern: string, arg0: any, arg1: any): void;
public static log(logger: org.apache.log4j.Logger, level: org.apache.log4j.Level, pattern: string, arg0: any, arg1: any, arg2: any, arg3: any): void;
public static logrb(logger: org.apache.log4j.Logger, level: org.apache.log4j.Level, t: java.lang.Throwable, bundleName: string, key: string, parameters: any[]): void;
public static debug(logger: org.apache.log4j.Logger, pattern: string, arguments: any[]): void;
public static trace(logger: org.apache.log4j.Logger, pattern: string, argument: string): void;
public static log(logger: org.apache.log4j.Logger, level: org.apache.log4j.Level, pattern: string, param1: any): void;
public static logrb(logger: org.apache.log4j.Logger, level: org.apache.log4j.Level, bundleName: string, key: string, param1: boolean): void;
public static warn(logger: org.apache.log4j.Logger, pattern: string, argument: boolean): void;
public static info(logger: org.apache.log4j.Logger, pattern: string, argument: string): void;
public static log(logger: org.apache.log4j.Logger, level: org.apache.log4j.Level, pattern: string, param1: string): void;
public static fatal(logger: org.apache.log4j.Logger, t: java.lang.Throwable, pattern: string, arguments: any[]): void;
public static debug(logger: org.apache.log4j.Logger, pattern: string, arg0: any, arg1: any, arg2: any, arg3: any): void;
public static info(logger: org.apache.log4j.Logger, pattern: string, argument: boolean): void;
public static warn(logger: org.apache.log4j.Logger, pattern: string, argument: number): void;
public static logrb(logger: org.apache.log4j.Logger, level: org.apache.log4j.Level, bundleName: string, key: string, param1: any): void;
public static warn(logger: org.apache.log4j.Logger, pattern: string, arg0: any, arg1: any, arg2: any): void;
public static fatal(logger: org.apache.log4j.Logger, pattern: string, arguments: any[]): void;
public static error(logger: org.apache.log4j.Logger, t: java.lang.Throwable, pattern: string, arguments: any[]): void;
public static debug(logger: org.apache.log4j.Logger, t: java.lang.Throwable, pattern: string, arguments: any[]): void;
public static info(logger: org.apache.log4j.Logger, pattern: string, arg0: any, arg1: any): void;
public static info(logger: org.apache.log4j.Logger, pattern: string, argument: number): void;
public static logrb(logger: org.apache.log4j.Logger, level: org.apache.log4j.Level, bundleName: string, key: string, param0: any, param1: any, param2: any): void;
public static trace(logger: org.apache.log4j.Logger, pattern: string, arg0: any, arg1: any, arg2: any): void;
public static log(logger: org.apache.log4j.Logger, level: org.apache.log4j.Level, pattern: string, param1: number): void;
public static logrb(logger: org.apache.log4j.Logger, level: org.apache.log4j.Level, bundleName: string, key: string, param0: any, param1: any): void;
}
}
}
}
declare module org {
export module apache {
export module log4j {
export abstract class LogXF extends java.lang.Object {
public static class: java.lang.Class<org.apache.log4j.LogXF>;
public static TRACE: org.apache.log4j.Level;
public static valueOf(b: number): java.lang.Integer;
public static valueOf(b: number): java.lang.Float;
public static exiting(logger: org.apache.log4j.Logger, sourceClass: string, sourceMethod: string): void;
public static entering(logger: org.apache.log4j.Logger, sourceClass: string, sourceMethod: string, param: any): void;
public static valueOf(b: number): java.lang.Byte;
public static valueOf(b: number): java.lang.Double;
public static valueOf(b: number): java.lang.Short;
public static toArray(param1: any, param2: any, param3: any): any[];
public static exiting(logger: org.apache.log4j.Logger, sourceClass: string, sourceMethod: string, result: string): void;
public constructor();
public static valueOf(c: string): java.lang.Character;
public static valueOf(b: boolean): java.lang.Boolean;
public static entering(logger: org.apache.log4j.Logger, sourceClass: string, sourceMethod: string, param: string): void;
public static exiting(logger: org.apache.log4j.Logger, sourceClass: string, sourceMethod: string, result: any): void;
public static toArray(param1: any, param2: any): any[];
public static entering(logger: org.apache.log4j.Logger, sourceClass: string, sourceMethod: string, params: any[]): void;
public static toArray(param1: any): any[];
public static throwing(logger: org.apache.log4j.Logger, sourceClass: string, sourceMethod: string, thrown: java.lang.Throwable): void;
public static valueOf(b: number): java.lang.Long;
public static entering(logger: org.apache.log4j.Logger, sourceClass: string, sourceMethod: string): void;
public static toArray(param1: any, param2: any, param3: any, param4: any): any[];
}
}
}
}
declare module org {
export module apache {
export module log4j {
export class Logger extends org.apache.log4j.Category {
public static class: java.lang.Class<org.apache.log4j.Logger>;
public removeAppender(param0: org.apache.log4j.Appender): void;
public removeAppender(param0: string): void;
public constructor(name: string);
public removeAllAppenders(): void;
public getAllAppenders(): java.util.Enumeration<any>;
public isAttached(param0: org.apache.log4j.Appender): boolean;
public removeAppender(appender: org.apache.log4j.Appender): void;
public isAttached(appender: org.apache.log4j.Appender): boolean;
public trace(message: any, t: java.lang.Throwable): void;
public removeAppender(name: string): void;
public static getLogger(name: string): org.apache.log4j.Logger;
public static getLogger(name: string, factory: org.apache.log4j.spi.LoggerFactory): org.apache.log4j.Logger;
public addAppender(newAppender: org.apache.log4j.Appender): void;
public getAppender(name: string): org.apache.log4j.Appender;
public static getLogger(clazz: java.lang.Class<any>): org.apache.log4j.Logger;
public static getRootLogger(): org.apache.log4j.Logger;
public trace(message: any): void;
public getAppender(param0: string): org.apache.log4j.Appender;
public isTraceEnabled(): boolean;
public addAppender(param0: org.apache.log4j.Appender): void;
}
}
}
}
declare module org {
export module apache {
export module log4j {
export class MDC extends java.lang.Object {
public static class: java.lang.Class<org.apache.log4j.MDC>;
public static clear(): void;
public static get(key: string): any;
public static put(key: string, o: any): void;
public static remove(key: string): void;
public static getContext(): java.util.Hashtable<any,any>;
}
}
}
}
declare module org {
export module apache {
export module log4j {
export class NDC extends java.lang.Object {
public static class: java.lang.Class<org.apache.log4j.NDC>;
public static inherit(stack: java.util.Stack<any>): void;
public static cloneStack(): java.util.Stack<any>;
public static clear(): void;
public static get(): string;
public static remove(): void;
public static setMaxDepth(maxDepth: number): void;
public static getDepth(): number;
public static push(message: string): void;
public static pop(): string;
public static peek(): string;
}
export module NDC {
export class DiagnosticContext extends java.lang.Object {
public static class: java.lang.Class<org.apache.log4j.NDC.DiagnosticContext>;
}
}
}
}
}
declare module org {
export module apache {
export module log4j {
export class NameValue extends java.lang.Object {
public static class: java.lang.Class<org.apache.log4j.NameValue>;
public constructor(key: string, value: string);
public toString(): string;
}
}
}
}
declare module org {
export module apache {
export module log4j {
export class PatternLayout extends org.apache.log4j.Layout {
public static class: java.lang.Class<org.apache.log4j.PatternLayout>;
public static DEFAULT_CONVERSION_PATTERN: string;
public static TTCC_CONVERSION_PATTERN: string;
public BUF_SIZE: number;
public MAX_CAPACITY: number;
public format(param0: org.apache.log4j.spi.LoggingEvent): string;
public format(event: org.apache.log4j.spi.LoggingEvent): string;
public setConversionPattern(conversionPattern: string): void;
public ignoresThrowable(): boolean;
public createPatternParser(pattern: string): org.apache.log4j.helpers.PatternParser;
public getConversionPattern(): string;
public constructor(pattern: string);
public activateOptions(): void;
public constructor();
}
}
}
}
declare module org {
export module apache {
export module log4j {
export class Priority extends java.lang.Object {
public static class: java.lang.Class<org.apache.log4j.Priority>;
public static OFF_INT: number;
public static FATAL_INT: number;
public static ERROR_INT: number;
public static WARN_INT: number;
public static INFO_INT: number;
public static DEBUG_INT: number;
public static ALL_INT: number;
public static FATAL: org.apache.log4j.Priority;
public static ERROR: org.apache.log4j.Priority;
public static WARN: org.apache.log4j.Priority;
public static INFO: org.apache.log4j.Priority;
public static DEBUG: org.apache.log4j.Priority;
/** @deprecated */
public static toPriority(sArg: string): org.apache.log4j.Priority;
/** @deprecated */
public static getAllPossiblePriorities(): org.apache.log4j.Priority[];
public toString(): string;
/** @deprecated */
public static toPriority(sArg: string, defaultPriority: org.apache.log4j.Priority): org.apache.log4j.Priority;
public constructor();
public getSyslogEquivalent(): number;
public isGreaterOrEqual(r: org.apache.log4j.Priority): boolean;
public constructor(level: number, levelStr: string, syslogEquivalent: number);
public equals(obj: any): boolean;
public toInt(): number;
/** @deprecated */
public static toPriority(val: number, defaultPriority: org.apache.log4j.Priority): org.apache.log4j.Priority;
/** @deprecated */
public static toPriority(val: number): org.apache.log4j.Priority;
public equals(o: any): boolean;
}
}
}
}
declare module org {
export module apache {
export module log4j {
export class PropertyConfigurator extends java.lang.Object implements org.apache.log4j.spi.Configurator {
public static class: java.lang.Class<org.apache.log4j.PropertyConfigurator>;
public registry: java.util.Hasht