void nsVolume::LogState() const { if (mState == nsIVolume::STATE_MOUNTED) { LOG("nsVolume: %s state %s @ '%s' gen %d locked %d", NameStr(), StateStr(), MountPointStr(), MountGeneration(), (int)IsMountLocked()); return; } LOG("nsVolume: %s state %s", NameStr(), StateStr()); }
void nsVolume::LogState() const { if (mState == nsIVolume::STATE_MOUNTED) { LOG("nsVolume: %s state %s @ '%s' gen %d locked %d fake %d " "media %d sharing %d formatting %d unmounting %d", NameStr().get(), StateStr(), MountPointStr().get(), MountGeneration(), (int)IsMountLocked(), (int)IsFake(), (int)IsMediaPresent(), (int)IsSharing(), (int)IsFormatting(), (int)IsUnmounting()); return; } LOG("nsVolume: %s state %s", NameStr().get(), StateStr()); }