Skip to content

ccLogger: Change write target to file if configured for Print and Printf functions #35

@spacehamster87

Description

@spacehamster87

Former Logic

File-Target was not yet implemented, Logic therefore only had running logs in mind. Print and Printf (and other) functions used as wrappers for fmt, mostly for completeness, writing directly to STDOUT.

Affected Functions

  • cclog.Print()
  • cclog.Exit()
  • cclog.Abort()
  • cclog.Printf()
  • cclog.Exitf()
  • cclog.Abortf()

New Logic

If configured, every output written by ccLogger should (also) be written to file, instead of bypassing it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions