console, only much more powerful. Woodman lets you take precise control over what gets logged where and how... and knows how to disappear from production code if needed.
// Using Woodman // Using the consolewoodmanload'console';var logger = woodmangetLogger'myapp';logger.log'Hello Woodman'; console.log'Hello Woodman';logger.warn'This is a warning'; console.warn'This is a warning';logger.error'This is an error'; console.error'This is an error';
error). Through configuration, messages may be filtered based on their level.
console, a log file or a remote server using Web sockets. New appenders can easily be created.
console.login your production code! See Precompilation for details.
Wherever applicable, Woodman follows the architecture, terminology and API of the Apache Log4j 2 project.
To get started with Woodman, check the documentation Web site.
The Woodman library is licensed under the MIT license. Copyright (c) 2013 Joshfire. All rights reserved.
See the license section for details.