logger.output({
severity:'warning',
source:'Logger',
message:'Logger is already initialised!',
timestamp: new Date(),
location: os.hostname()
});
Just remember, using this method ONLY outputs to console, and no other transport is used and no event is emitted. It's basically a fancy console log, useful for welcome messages etc.
logger.event.emit('logger', data)
This will emit straight into the matrix, make sure to be careful with emitted data, that it is correctly formatted and will not cause any of the other listeners and modules to error out
Documented in a future update