eris::log::contexts - Discovery and access for context objects
version 0.008
This module isn't meant to be a public interface, you should probably see: eris::log::contextualizer so you're doing it right.
Defaults to 'eris::log::context', add more by setting search_path in your config.
search_path
--- contexts: search_path: - 'my::app::context'
Takes an instance of an eris::log object that's been returned from a a call to eris::log::decoders's decode() method.
decode()
Discovers and iterates through available contexts. Any contexts which successfully match will be passed the eris::log instance to their contextualize_message method.
contextualize_message
eris::log::contextualizer, eris::role::context, eris::log, eris::log::contexts::sshd
Brad Lhotsky <brad@divisionbyzero.net>
This software is Copyright (c) 2015 by Brad Lhotsky.
This is free software, licensed under:
The (three-clause) BSD License
To install eris, copy and paste the appropriate command in to your terminal.
cpanm
cpanm eris
CPAN shell
perl -MCPAN -e shell install eris
For more information on module installation, please visit the detailed CPAN module installation guide.