Logger /

#includecinder/Log.h

Logger is the base class all logging objects are derived from.

See Also

LoggerConsole , LoggerFile , LoggerFileRotating


Public Member Functions

  • ~Logger ()
  • void
    write (const Metadata &meta, const std::string &text)=0
  • void
    setTimestampEnabled (bool enable=true)
  • bool
    isTimestampEnabled () const
  • void
    setLevel (Level level)
  • getLevel () const

Protected Member Functions

  • Logger (Level level=static_cast< Level >(CI_MIN_LOG_LEVEL))
  • void
    writeDefault (std::ostream &stream, const Metadata &meta, const std::string &text)

Protected Attributes