Skip to content

omercankoc/printlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

62 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Printlog

[Log type] : Log Message -> File Function : Line

You can mark logs with 7 different labels.

  1. Trace: Appropriate for messages that contain information only when debugging a program.
Printlog.trace("Trace Message")
βšͺ [Trace] βšͺ : Trace Message -> PrintlogTests.swift trace() : 6
  1. Debug: Appropriate for messages that contain information normally of use only when debugging a program.
Printlog.debug("Debug Message")
πŸ”΅ [Debug] πŸ”΅ : Debug Message -> PrintlogTests.swift debug() : 11
  1. Information: Appropriate for informational messages.
Printlog.information("Information Message")
🟒 [Information] 🟒 : Information Message -> PrintlogTests.swift information() : 16
  1. Notice: Appropriate for conditions that are not error conditions, but that may require special handling.
Printlog.notice("Notice Message")
🟑 [Notice] 🟑 : Notice Message -> PrintlogTests.swift notice() : 21
  1. Warning: Appropriate for messages that are not error conditions, but more severe than "notice".
Printlog.warning("Warning Message")
🟠 [Warning] 🟠 : Warning Message -> PrintlogTests.swift warning() : 26
  1. Error: Appropriate for error conditions.
Printlog.error("Error Message")
πŸ”΄ [Error] πŸ”΄ : Error Message -> PrintlogTests.swift error() : 31
  1. Critical: Appropriate for critical error conditions that usually require immediate attention.
Printlog.critical("Critical Message")
⚫ [Critical] ⚫ : Critical Message -> PrintlogTests.swift critical() : 36

About

Reporting and monitoring summary information from the console.

Topics

Resources

Stars

Watchers

Forks

Languages