Logging in li3 is handled through the Logger class. This class is designed to provide a consistent interface for writing log messages across the application. The Logger class can also be set up with a series of named configurations that contain a log adapter to write to.
By default, the logger will write a message to any adapter that has the specified priority in the log message in its configuration. To write to an adapter other than the default adapter(s), you can use the options parameter which expects an array.
Attempting to use an undefined priority level will raise an exception. See the list of available adapters for more information on what adapters are available, and how to configure them.