Changed message type to any

This commit is contained in:
Stefan Profanter
2015-06-22 16:01:44 +02:00
parent fb0a1c14ae
commit 625232f072
2 changed files with 15 additions and 10 deletions
+1
View File
@@ -5,6 +5,7 @@ log.debug("Debug message");
log.info("Info message");
log.warn("Warn message");
log.error("Error message");
log.debug(["Hello", "world", 42]);
log.setLevel(0);
log.setLevel(0, false);
+14 -10
View File
@@ -21,33 +21,37 @@ declare module loglevel {
* Output trace message to console.
* This will also include a full stack trace
*
* @param msg the message to print
* @param msg any data to log to the console
*/
export function trace(msg:string):void;
export function trace(msg:any):void;
/**
* Output debug message to console including appropriate icons
* @param msg the message to print
*
* @param msg any data to log to the console
*/
export function debug(msg:string):void;
export function debug(msg:any):void;
/**
* Output info message to console including appropriate icons
* @param msg the message to print
*
* @param msg any data to log to the console
*/
export function info(msg:string):void;
export function info(msg:any):void;
/**
* Output warn message to console including appropriate icons
* @param msg the message to print
*
* @param msg any data to log to the console
*/
export function warn(msg:string):void;
export function warn(msg:any):void;
/**
* Output error message to console including appropriate icons
* @param msg the message to print
*
* @param msg any data to log to the console
*/
export function error(msg:string):void;
export function error(msg:any):void;
/**