package gammu

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type info

Value holding the debugging preferences.

val global : info

Global debug settings.

val set_global : info -> bool -> unit

set_global di enables the use of the global debugging configuration for di. Has no effect on the global debug configuration itself.

val set_output : info -> out_channel -> unit

set_debug_output di channel sets output channel of di to channel.

val set_level : info -> string -> unit

set_debug_level di level sets debug level on di according to level.

level must be one of :

  • nothing - no debugging output
  • text - transmission dump in text format
  • textall - all possible info in text format
  • textalldate - all possible info in text format, with time stamp
  • errors - errors in text format
  • errorsdate - errors in text format, with time stamp
  • binary - transmission dump in binary format