@iotile/iotile-common
Version:
Common utilities for IoTile Packages and Applications
20 lines (19 loc) • 773 B
TypeScript
/**
* Legacy base object that previously assumed we were using angular logging
*/
import { LoggingBase } from "./logging-base";
import { Category } from "typescript-logging";
export declare class ObjectBase extends LoggingBase {
protected $injector: any;
private className;
static categoryMap: {
[key: string]: Category;
};
static categoryBase: Category;
protected static createOrGetCategory(name: string): Category;
constructor(name: string, $injector: any);
protected log_debug(message: string, ...args: any[]): void;
protected log_warn(message: string, ...args: any[]): void;
protected log_error(message: string, ...args: any[]): void;
protected log_info(message: string, ...args: any[]): void;
}