macro_rules! info {
($($fmt:expr),+) => { ... };
}
Expand description
Expands a logging macro for outputting informational messages.
It checks the current log level, and if it’s set to 3 or higher, it processes the provided format arguments to display a message prefixed with “INFO”. This message includes the current indentation level, styled with specific ANSI escape codes for color formatting, and appends the file name and line number from where the log was called. The macro ensures that informational messages are logged consistently across the module whenever the appropriate log level is set.