LoggerSystem /

#includecinder/Log.h

LoggerSystem rovides 'system' logging support. Uses syslog on platforms that have it, on MSW uses Windows Event Logging.

Does nothing on WinRT.


Public Member Functions

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

Protected Member Functions

  • void
    writeDefault (std::ostream &stream, const Metadata &meta, const std::string &text)

Protected Attributes

  • std::unique_ptr< ImplSysLog >
    mImpl
  • mLevel