SimpleLogger class implements a logger instance

The message MUST be a string or object implementing __toString().

The message MAY contain placeholders in the form: {foo} where foo will be replaced by the context data in key "foo".

The context array can contain arbitrary data, the only assumption that can be made by implementors is that if an Exception instance is given to produce a stack trace, it MUST be in a key named "exception".

log levels are defined by class LogLevel const EMERGENCY = 'emergency'; const ALERT = 'alert'; const CRITICAL = 'critical'; const ERROR = 'error'; const WARNING = 'warning'; const NOTICE = 'notice'; const INFO = 'info'; const DEBUG = 'debug';

See for the full interface specification.

Type hierarchy

lionsad/service_container 1.0.0-beta5
minchal/vero dev-master
mrcnpdlk/imdbphp v4.1.1
ortnit/logger dev-master

Class usage:

This class is not referred by any other class/interface/traits in packagist packages.