API doc

erllog Application APIs –

erllog:start(_, _) ->

    This is to start the erllog application.
    This function starts the erllog with default configuration.

erllog:configure(FilePath) ->

    This is to configure the erllog. Currently erllog supports file driven configuration only. Please see the Configuration page for sample configuration file.

erllog:emergency(LogMessage) ->

    For emergency log.

erllog:alert(LogMessage) ->

    For alert log.

erllog:critical(LogMessage) ->

    For critical log.

erllog:error(LogMessage) ->

    For error log.

erllog:warn(LogMessage) ->

    For warn log.

erllog:notice(LogMessage) ->

    For notice log.

erllog:info(LogMessage) ->

    For info log.

erllog:debug(LogMessage) ->

    For debug log.

erllog:console(LogMessage) ->

    For console log, This log message will not be written in any file.
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: