@ Command ( name = "SetLoggingLevel" , inTypeDesc = "Lg[i]=Logging Level. Str[i]=Device name." ) public void setLoggingLevel ( final DevVarLongStringArray dvlsa ) throws DevFailed { final int [ ] levels = dvlsa . lvalue ; final String [ ] deviceNames = dvlsa . svalue ; if ( deviceNames . length != levels . length ) { throw DevFailedUtils . newDevFailed ( INPUT_ERROR , "argin must be of same size for string and long " ) ; } for ( int i = 0 ; i < levels . length ; i ++ ) { LoggingManager . getInstance ( ) . setLoggingLevel ( deviceNames [ i ] , levels [ i ] ) ; } }
Set logging level