NAME
eris::log::contexts - Discovery and access for context objects
VERSION
version 0.006
SYNOPSIS
This module isn't meant to be a public interface, you should probably see: eris::log::contextualizer so you're doing it right.
ATTRIBUTES
namespace
Defaults to 'eris::log::context', add more by setting search_path
in your config.
---
contexts:
search_path:
- 'my::app::context'
METHODS
contextualize
Takes an instance of an eris::log object that's been returned from a a call to eris::log::decoders's decode()
method.
Discovers and iterates through available contexts. Any contexts which successfully match will be passed the eris::log instance to their contextualize_message
method.
SEE ALSO
eris::log::contextualizer, eris::role::context, eris::log, eris::log::contexts::sshd
AUTHOR
Brad Lhotsky <brad@divisionbyzero.net>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2015 by Brad Lhotsky.
This is free software, licensed under:
The (three-clause) BSD License