> ## Documentation Index
> Fetch the complete documentation index at: https://www.getmaxim.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Scribe

> Scribe module utilities and functionality.

[View module source on GitHub](https://github.com/maximhq/maxim-py/blob/main/maxim/scribe.py)

## [Scribe](/sdk/python/references/scribe)

```python theme={null}
class Scribe()
```

[Scribe](/sdk/python/references/scribe) logger wrapper for maxim.
Log level is managed externally via set\_level or the standard logging API.
By default, the logger uses the global logging configuration.

#### \_\_init\_\_

```python theme={null}
def __init__(name)
```

Initialize a scribe logger.

**Arguments**:

| Name   | Description             |
| ------ | ----------------------- |
| `name` | The name of the logger. |

#### debug

```python theme={null}
def debug(msg, *args, **kwargs)
```

Log a debug message.

**Arguments**:

| Name       | Description                   |
| ---------- | ----------------------------- |
| `msg`      | The message to log.           |
| `*args`    | The arguments to log.         |
| `**kwargs` | The keyword arguments to log. |

#### warning

```python theme={null}
def warning(msg, *args, **kwargs)
```

Log a warning message.

**Arguments**:

| Name       | Description                   |
| ---------- | ----------------------------- |
| `msg`      | The message to log.           |
| `*args`    | The arguments to log.         |
| `**kwargs` | The keyword arguments to log. |

#### log

```python theme={null}
def log(level, msg, *args, **kwargs)
```

Log a message.

**Arguments**:

| Name       | Description                   |
| ---------- | ----------------------------- |
| `level`    | The level of the message.     |
| `msg`      | The message to log.           |
| `*args`    | The arguments to log.         |
| `**kwargs` | The keyword arguments to log. |

#### silence

```python theme={null}
def silence()
```

Silence the logger.

This method sets the logger level to CRITICAL + 1.

#### error

```python theme={null}
def error(msg, *args, **kwargs)
```

Log an error message.

**Arguments**:

| Name       | Description                   |
| ---------- | ----------------------------- |
| `msg`      | The message to log.           |
| `*args`    | The arguments to log.         |
| `**kwargs` | The keyword arguments to log. |

#### info

```python theme={null}
def info(msg, *args, **kwargs)
```

Log an info message.

**Arguments**:

| Name       | Description                   |
| ---------- | ----------------------------- |
| `msg`      | The message to log.           |
| `*args`    | The arguments to log.         |
| `**kwargs` | The keyword arguments to log. |

#### get\_level

```python theme={null}
def get_level()
```

Get the level of the logger.

**Returns**:

| Name  | Description              |
| ----- | ------------------------ |
| `int` | The level of the logger. |

#### set\_level

```python theme={null}
def set_level(level)
```

Set the level of the logger.

**Arguments**:

| Name    | Description       |
| ------- | ----------------- |
| `level` | The level to set. |
