use Formatter;
use crateRecord;
use json;
/// A formatter that serializes a log record into JSON.
///
/// This formatter converts all core fields of a `Record`
/// (timestamp, level, message, channel, context) into a JSON string.
/// It supports both predefined levels (Info, Debug, Warn, Error, Trace)
/// and custom levels via `Level::Custom`.
;