logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

MySQL::Diff::Utils - Supporting functions for MySQL:Diff

Author

       Adam Spiers <mysqldiff@adamspiers.org>

perl v5.26.2                                       2018-07-20                            MySQL::Diff::Utils(3pm)

Description

       Currently contains the debug message handling routines.

Functions

PublicFunctions
       Fuller documentation will appear here in time :)

       •   debug_file( $file )

           Accessor to set/get the current debug log file.

       •   debug_level( $level )

           Accessor to set/get the current debug level for messages.

           Current levels range from 1 to 4, with 1 being very brief processing messages, 2 providing high level
           process  flow  messages,  3 providing low level process flow messages and 4 providing data dumps, etc
           where appropriate.

       •   debug

           Writes to debug log file (if specified) and STDERR the given message, provided is equal to  or  lower
           than the current debug level.

Name

       MySQL::Diff::Utils - Supporting functions for MySQL:Diff

See Also

       mysqldiff, MySQL::Diff, MySQL::Diff::Database, MySQL::Diff::Table

Synopsis

         use MySQL::Diff::Utils qw(debug_level debug);

See Also