Namespace RisingV.Shared.Logging
Classes
- LogNoTag
Convenience logging helpers that do not apply a tag.
- LogTag
Represents a tag for logging purposes, allowing for hierarchical organization of log messages.
- LogTagShared
Represents a log tag for shared components in the RisingV project.
- LogWithTag
Convenience logging helpers that prepend a custom ILogTag to every message.
- Logger
Provides a logger implementation that integrates with BepInEx's logging system.
Logs level can be adjusted setting ActiveLogLevels
Logs can be filtered by log level and tags, allowing for flexible logging configurations.
- ActiveTags for assigning active tags to the logger.
- InactiveTags for assigning tags that should be suppressed in logs.
private static readonly Logger logger = Logger.Create(typeof(MyPluginClass), LogTags.MyCustomTag); logger.Debug("This is an debug message with {} argument.", "example"); logger.Info("This is an info message with {} argument.", "example"); logger.Warn("This is a warning message with {} argument.", "example"); logger.Error("This is an error message with an exception.", ex); logger.Fatal("This is a fatal message with an exception.", ex);
Interfaces
- ILogTag
Represents a tag for logging purposes.
- ILogger
Represents a logger interface for logging messages at various levels.
Enums
- LogLevel
Represents the different levels of logging that can be used in the application.