mirror of
https://github.com/processone/ejabberd.git
synced 2024-09-07 13:35:42 +02:00
Update Elixir logger, so logging should work now
This commit is contained in:
parent
2fbd447f64
commit
8b78d27f30
@ -1,9 +1,9 @@
|
||||
defmodule Ejabberd.Logger do
|
||||
|
||||
def critical(message, args \\ []), do: :lager.log(:critical, [], message, args)
|
||||
def error(message, args \\ []), do: :lager.log(:error, [], message, args)
|
||||
def warning(message, args \\ []), do: :lager.log(:warning, [], message, args)
|
||||
def info(message, args \\ []), do: :lager.log(:info, [], message, args)
|
||||
def debug(message, args \\ []), do: :lager.log(:debug, [], message, args)
|
||||
def critical(message, args \\ []), do: :logger.critical(message, args)
|
||||
def error(message, args \\ []), do: :logger.error(message, args)
|
||||
def warning(message, args \\ []), do: :logger.warning(message, args)
|
||||
def info(message, args \\ []), do: :logger.info(message, args)
|
||||
def debug(message, args \\ []), do: :logger.debug( message, args)
|
||||
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user