The OpenD Programming Language

log

This function logs data.

In order for the data to be processed the LogLevel of the log call must be greater or equal to the LogLevel of the sharedLog.

  1. void log(LogLevel ll, bool condition, A args)
  2. void log(LogLevel ll, bool condition, T arg, int line, string file, string funcName, string prettyFuncName)
  3. void log(LogLevel ll, A args)
  4. void log(LogLevel ll, T arg, int line, string file, string funcName, string prettyFuncName)
    void
    log
    (
    T
    string moduleName = __MODULE__
    )
    (
    const LogLevel ll
    ,
    lazy T arg
    ,
    int line = __LINE__
    ,
    string file = __FILE__
    ,
    string funcName = __FUNCTION__
    ,
    string prettyFuncName = __PRETTY_FUNCTION__
    )
  5. void log(bool condition, A args)
  6. void log(bool condition, T arg, int line, string file, string funcName, string prettyFuncName)
  7. void log(A args)

Parameters

ll LogLevel

The LogLevel used by this log call.

Examples

log(LogLevel.warning, "Hello World", 3.1415);

Meta