From e9a5c7fba7506ca1f6a0d8cc39ab2a6144358769 Mon Sep 17 00:00:00 2001 From: Netkas Date: Sun, 29 Jan 2023 21:55:21 -0500 Subject: [PATCH] Updated README.md --- README.md | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 401c157..9d8d5b6 100644 --- a/README.md +++ b/README.md @@ -70,14 +70,13 @@ multiple error levels that can be used to log messages require 'ncc'; import('net.nosial.loglib'); - use Nosial\Libs\Log; - - - Log::info("This is an info message"); - Log::warning("This is a warning message"); - Log::error("This is an error message"); - Log::debug("This is a debug message"); - Log::critical("This is a critical message"); + \LogLib\Log::debug('This is a debug message'); + \LogLib\Log::verbose('This is a verbose message'); + \LogLib\Log::info('This is an info message'); + \LogLib\Log::warning('This is a warning message'); + \LogLib\Log::error('This is an error message'); + \LogLib\Log::fatal('This is a fatal message'); + ``` To display the log messages, you can run your program