Skip to content
/ osumlog Public

๐—ง๐—ต๐—ฒ ๐—ผ๐˜€๐˜‚๐—บ ๐—น๐—ถ๐—ฏ๐—ฟ๐—ฎ๐—ฟ๐˜† ๐—ณ๐—ผ๐—ฟ ๐—น๐—ผ๐—ด๐—ด๐—ถ๐—ป๐—ด ๐—บ๐—ฎ๐—ฑ๐—ฒ ๐˜„๐—ถ๐˜๐—ต โค๏ธ ๐—ฏ๐˜† ๐—ผ๐˜€๐˜‚๐—บ๐—ฝ๐—ถ

License

Notifications You must be signed in to change notification settings

osumpi/osumlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

10 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

osumlog

The osum library for logging made with โค๏ธ by osumpi. Simple and clean to use.

image

Example Usage

// All log levels with the `Log` constructor.
for (final level in LogLevels.values) {
Log('This is $level level log message', level: level);
}

// Log.<level>(..) usage.
Log.error("Error");

Log.warn("Warning");

// Put timestamp along with the log message.
Log.showTimestamp = true;

Log.fatal("Fatal with timestamps");

// Use symbols instead of log label flags.
Log.showLevelSymbolInsteadOfLabel = true;

Log.warn("Warning with symbol");

Log.info(Log.loggingLevel.toString().trim());

// Log level set to output all log messages.
Log.loggingLevel = LogLevels.all;

// Ignore colors when logging.
Log.applyColors = false;

Log.trace("Fatal but no colors :(");

About

๐—ง๐—ต๐—ฒ ๐—ผ๐˜€๐˜‚๐—บ ๐—น๐—ถ๐—ฏ๐—ฟ๐—ฎ๐—ฟ๐˜† ๐—ณ๐—ผ๐—ฟ ๐—น๐—ผ๐—ด๐—ด๐—ถ๐—ป๐—ด ๐—บ๐—ฎ๐—ฑ๐—ฒ ๐˜„๐—ถ๐˜๐—ต โค๏ธ ๐—ฏ๐˜† ๐—ผ๐˜€๐˜‚๐—บ๐—ฝ๐—ถ

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages