stdx.log
Feature Description
The log package provides a unified logging API that abstracts the actual logging implementation.
API List
Functions
Type Aliases
| Type Alias |
Description |
| Attr |
Key-value pair type for log messages, which is an alias for (String, LogValue). |
Interfaces
| Interface Name |
Description |
| LogValue |
Provides an interface for serializing Cangjie data types to log output targets. |
Classes
| Class Name |
Description |
| Logger |
This abstract class provides basic logging and management functionality. |
| LogRecord |
The "payload" of log messages. |
| LogWriter |
LogWriter provides the capability to serialize Cangjie data types to log output targets. |
| NoopLogger |
A NO-OP (No Operation) implementation of Logger. |
Structs
Exception Classes
| Exception Class Name |
Description |
| LogException |
Used to handle log-related exceptions. |