---
name: "LedgerSMB::Log"
section: "3pm"
platform: "linux"
package: "ledgersmb"
version: "1.3.40-1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/LedgerSMB::Log"
---

# LedgerSMB::Log(3pm)

LedgerSMB logging and debugging framework

## NAME

LedgerSMB::Log - LedgerSMB logging and debugging framework

## SYOPSIS

This module maintains a connection to the LedgerSMB log file  (Separate from the apache error log, for now)

## METHODS

This module is loosely based on Apache::Log.

Available methods: (in order, most to least severe)

- emerg

  - alert

  - crit

  - error

  - warn

  - notice

  - info

  - debug

  - longmess

  This uses Carp to make a debug message with the full stack backtrace, including function arguments, where Carp can infer them.

- dump

  This uses Data::Dumper to dump the contents of a data structure as a debug message.

- print

  Uses sprintf to format a log line with a timestamp and a message.
