Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
d4a248df3b | |||
d0bffa2aad | |||
d216653022 |
@ -10,9 +10,6 @@
|
|||||||
% It follows the Singleton pattern to ensure that only one instance of the logger
|
% It follows the Singleton pattern to ensure that only one instance of the logger
|
||||||
% exists throughout the application.
|
% exists throughout the application.
|
||||||
%
|
%
|
||||||
% The log file is specified by the environment variable 'APP_LOG_FILE'. If
|
|
||||||
% the variable is not set, a default file 'base-logger-log.log' is used.
|
|
||||||
%
|
|
||||||
% Properties:
|
% Properties:
|
||||||
% fid - (private) The file identifier for the log file. This is used to write logs.
|
% fid - (private) The file identifier for the log file. This is used to write logs.
|
||||||
%
|
%
|
||||||
@ -20,20 +17,20 @@
|
|||||||
%
|
%
|
||||||
% getInstance() - Retrieves the singleton instance of the logger.
|
% getInstance() - Retrieves the singleton instance of the logger.
|
||||||
%
|
%
|
||||||
% trace(varargin) - Logs one or more messages with TRACE level.
|
% trace(message) - Logs a message with TRACE level.
|
||||||
% @param varargin The messages to log. Can be strings, numbers, or MException objects.
|
% @param message The message to log.
|
||||||
%
|
%
|
||||||
% debug(varargin) - Logs one or more messages with DEBUG level.
|
% debug(message) - Logs a message with DEBUG level.
|
||||||
% @param varargin The messages to log. Can be strings, numbers, or MException objects.
|
% @param message The message to log.
|
||||||
%
|
%
|
||||||
% info(varargin) - Logs one or more messages with INFO level.
|
% info(message) - Logs a message with INFO level.
|
||||||
% @param varargin The messages to log. Can be strings, numbers, or MException objects.
|
% @param message The message to log.
|
||||||
%
|
%
|
||||||
% warning(varargin) - Logs one or more messages with WARNING level.
|
% warning(message) - Logs a message with WARNING level.
|
||||||
% @param varargin The messages to log. Can be strings, numbers, or MException objects.
|
% @param message The message to log.
|
||||||
%
|
%
|
||||||
% error(varargin) - Logs one or more messages with ERROR level.
|
% error(message) - Logs a message with ERROR level.
|
||||||
% @param varargin The messages to log. Can be strings, numbers, or MException objects.
|
% @param message The message to log.
|
||||||
%
|
%
|
||||||
% delete() - Destructor method that closes the file identifier when the logger is deleted.
|
% delete() - Destructor method that closes the file identifier when the logger is deleted.
|
||||||
%
|
%
|
||||||
|
@ -10,9 +10,6 @@
|
|||||||
% It follows the Singleton pattern to ensure that only one instance of the logger
|
% It follows the Singleton pattern to ensure that only one instance of the logger
|
||||||
% exists throughout the application.
|
% exists throughout the application.
|
||||||
%
|
%
|
||||||
% The log file is specified by the environment variable 'APP_LOG_FILE'. If
|
|
||||||
% the variable is not set, a default file 'base-logger-log.log' is used.
|
|
||||||
%
|
|
||||||
% Properties:
|
% Properties:
|
||||||
% fid - (private) The file identifier for the log file. This is used to write logs.
|
% fid - (private) The file identifier for the log file. This is used to write logs.
|
||||||
%
|
%
|
||||||
@ -20,20 +17,20 @@
|
|||||||
%
|
%
|
||||||
% getInstance() - Retrieves the singleton instance of the logger.
|
% getInstance() - Retrieves the singleton instance of the logger.
|
||||||
%
|
%
|
||||||
% trace(varargin) - Logs one or more messages with TRACE level.
|
% trace(message) - Logs a message with TRACE level.
|
||||||
% @param varargin The messages to log. Can be strings, numbers, or MException objects.
|
% @param message The message to log.
|
||||||
%
|
%
|
||||||
% debug(varargin) - Logs one or more messages with DEBUG level.
|
% debug(message) - Logs a message with DEBUG level.
|
||||||
% @param varargin The messages to log. Can be strings, numbers, or MException objects.
|
% @param message The message to log.
|
||||||
%
|
%
|
||||||
% info(varargin) - Logs one or more messages with INFO level.
|
% info(message) - Logs a message with INFO level.
|
||||||
% @param varargin The messages to log. Can be strings, numbers, or MException objects.
|
% @param message The message to log.
|
||||||
%
|
%
|
||||||
% warning(varargin) - Logs one or more messages with WARNING level.
|
% warning(message) - Logs a message with WARNING level.
|
||||||
% @param varargin The messages to log. Can be strings, numbers, or MException objects.
|
% @param message The message to log.
|
||||||
%
|
%
|
||||||
% error(varargin) - Logs one or more messages with ERROR level.
|
% error(message) - Logs a message with ERROR level.
|
||||||
% @param varargin The messages to log. Can be strings, numbers, or MException objects.
|
% @param message The message to log.
|
||||||
%
|
%
|
||||||
% delete() - Destructor method that closes the file identifier when the logger is deleted.
|
% delete() - Destructor method that closes the file identifier when the logger is deleted.
|
||||||
%
|
%
|
||||||
|
Loading…
Reference in New Issue
Block a user