javascript - Blackbird logger - absolutely nothing happens -


this should simple...

i thought nice try blackbird logger (blackbird home page)

following guide on authors page, created directory on server , loaded blackbird.js, blackbird.css, 2 blackbird image files , .html file containing following directory. when access page, alert fires absolutely nothing else happens. blackbird .js , .css files loading , visible in debugger. have gone wrong? (same result on firefox, chrome , ie).

<!doctype html> <html lang="en-us"> <head>     <title>blackbird test</title>     <link rel="stylesheet" type="text/css" href="blackbird.css" />     <script type="text/javascript" src="blackbird.js"></script>     <script type="text/javascript">         function func1() {             alert("in function, send log messages");             log.debug("hello");             log.debug( 'this debug message' );             log.info( 'this info message' );             log.warn( 'this warning message' );             log.error( 'this error message' );         }     </script> </head> <body> <input type="button" value="click me" onclick="func1();"/> </body> </html> 

the problem need explicitly tell blackbird appear:

function func1() {     log.toggle(); // show     // rest of code here; } 

Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -